Issue for tracking data migration and release of v0.16.0.
Steps to prepare for migration and release:
Export pre-flight archives for:
[x] dev
[x] demo
[x] multicare
[x] scca
Validate pre-flight archive to confirm pre-migration failure for:
[x] dev: Ignoring Anant account. No migration needed, none expected.
[x] demo: No migration needed, none expected.
[x] multicare: No migration needed, none expected.
[x] scca: No migration needed, none expected.
Develop migration scripts:
[x] N/A
Create release branch based on develop:
[x] release/v0.16.0
Ensure scope-aws-infrastructure Pipfile is using current release.
[x] release/v0.16.0
If migration required, validate migration script with migrated versions of pre-flight archives:
[x] dev: No migration needed.
[x] demo: No migration needed.
[x] multicare: No migration needed.
[x] scca: No migration needed.
[x] Build images, requires updating version in 6 places:
docker/server_flask/codebuild_env.sh
docker/web_patient/codebuild_env.sh
docker/web_registry/codebuild_env.sh
tasks/codebuild/server_flask.py
tasks/codebuild/web_patient.py
tasks/codebuild/web_registry.py
Steps to execute migration and release:
Freeze the database by stopping the associated server-flask, web-patient, web-registry services. This requires manually stoping each release with a helm uninstall command on the server (i.e., because the --skip-crds default in our Helmfile conflicts with installed).
[x] dev
[x] demo
[x] multicare
[x] fredhutch and scca
Export final pre-migration archive:
[x] dev
[x] demo
[x] multicare
[x] scca
If migration not required, validate final pre-migration archive:
[x] dev
[x] demo
[x] multicare
[x] scca
If migration required, apply and validate the migration.
[x] dev
[x] demo
[x] multicare
[x] scca
If migration required, reset the database.
[x] dev
[x] demo
[x] multicare
[x] scca
If migration required, restore the migrated archive.
[x] dev
[x] demo
[x] multicare
[x] scca
Update Helmfile imageTag values for associated server-flask, web-patient, web-registry services.
[x] dev
[x] demo
[x] multicare
[x] fredhutch and scca
Apply Helmfile to deploy release based on migrated data.
Issue for tracking data migration and release of v0.16.0.
Steps to prepare for migration and release:
Export pre-flight archives for:
dev
demo
multicare
scca
Validate pre-flight archive to confirm pre-migration failure for:
dev
: Ignoring Anant account. No migration needed, none expected.demo
: No migration needed, none expected.multicare
: No migration needed, none expected.scca
: No migration needed, none expected.Develop migration scripts:
Create release branch based on
develop
:release/v0.16.0
Ensure scope-aws-infrastructure Pipfile is using current release.
release/v0.16.0
If migration required, validate migration script with migrated versions of pre-flight archives:
dev
: No migration needed.demo
: No migration needed.multicare
: No migration needed.scca
: No migration needed.[x] Build images, requires updating version in 6 places:
docker/server_flask/codebuild_env.sh
docker/web_patient/codebuild_env.sh
docker/web_registry/codebuild_env.sh
tasks/codebuild/server_flask.py
tasks/codebuild/web_patient.py
tasks/codebuild/web_registry.py
Steps to execute migration and release:
Freeze the database by stopping the associated
server-flask
,web-patient
,web-registry
services. This requires manually stoping each release with ahelm uninstall
command on the server (i.e., because the--skip-crds
default in our Helmfile conflicts withinstalled
).dev
demo
multicare
fredhutch
andscca
Export final pre-migration archive:
dev
demo
multicare
scca
If migration not required, validate final pre-migration archive:
dev
demo
multicare
scca
If migration required, apply and validate the migration.
dev
demo
multicare
scca
If migration required, reset the database.
dev
demo
multicare
scca
If migration required, restore the migrated archive.
dev
demo
multicare
scca
Update Helmfile imageTag values for associated
server-flask
,web-patient
,web-registry
services.dev
demo
multicare
fredhutch
andscca
Apply Helmfile to deploy release based on migrated data.
dev
demo
multicare
fredhutch
andscca
Upload archives to Microsoft Teams.
dev
demo
multicare
scca
Document release deployments