-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into dmr/replace-production-couch-node-2
- Loading branch information
Showing
11 changed files
with
113 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
title: update-to-python-3.9.18 | ||
key: update-to-python-3.9.18 | ||
date: 2023-09-12 | ||
optional_per_env: no | ||
# (optional) Min version of HQ that MUST be deployed before this change can be rolled out (commit hash) | ||
min_commcare_version: | ||
# (optional) Max version of HQ that can be deployed before this change MUST be rolled out (commit hash) | ||
max_commcare_version: | ||
context: | | ||
Installs python 3.9.18 and build a new virutalenv for CommCare HQ | ||
details: | | ||
Python 3.9.18 applies some security patches to the known CVEs in earlier versions of Python 3.9. | ||
Performing these steps will ensure that that those CVEs don't affect your environment | ||
update_steps: | | ||
1. Update to the latest commcare-cloud | ||
2. Install Python 3.9.18, update supervisor configs and sudoers file, and create | ||
virtualenv for CommCare HQ: | ||
```bash | ||
cchq <env> deploy-stack --tags=python | ||
``` | ||
It will do a dry run, after which you can review the changes and enter 'y' to apply. | ||
3. Restart services: | ||
```bash | ||
cchq <env> service commcare restart | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<!--THIS FILE IS AUTOGENERATED: DO NOT EDIT--> | ||
<!--See https://github.com/dimagi/commcare-cloud/blob/master/changelog/README.md for instructions--> | ||
# 74. update-to-python-3.9.18 | ||
|
||
**Date:** 2023-09-12 | ||
|
||
**Optional per env:** _required on all environments_ | ||
|
||
|
||
## CommCare Version Dependency | ||
This change is not known to be dependent on any particular version of CommCare. | ||
|
||
|
||
## Change Context | ||
Installs python 3.9.18 and build a new virutalenv for CommCare HQ | ||
|
||
## Details | ||
Python 3.9.18 applies some security patches to the known CVEs in earlier versions of Python 3.9. | ||
Performing these steps will ensure that that those CVEs don't affect your environment | ||
|
||
## Steps to update | ||
1. Update to the latest commcare-cloud | ||
2. Install Python 3.9.18, update supervisor configs and sudoers file, and create | ||
virtualenv for CommCare HQ: | ||
```bash | ||
cchq <env> deploy-stack --tags=python | ||
``` | ||
It will do a dry run, after which you can review the changes and enter 'y' to apply. | ||
3. Restart services: | ||
```bash | ||
cchq <env> service commcare restart | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters