This includes instructions for deploying Houskeeper in the Clinical Genomics 🏥 setting. General instructions for deployment is in the development guide
When all tests are done and successful and the PR is approved by codeowners, follow these steps:
To deploy your feature branch to test it, run
housekeeper-test-deploy <branch_name>
housekeeper-test --help
or the command you want to test.
This will pull the latest image tagged with your branch from dockerhub and make it available with housekeeper-test
. Note that it is not necessary to paxa the environment to do this, unless you need to apply database revisions.
- Select "Squash and merge" to merge branch into default branch (master/main).
- Append version increment value
( major | minor | patch )
in the commit message to specify what kind of release is to be created. - Review the details and merge the branch into master.
- Deploy the latest version to stage and production with
housekeeper-deploy
. - Apply any migrations against the stage and prod databases with alembic.
- Ensure that you have the latest revisions in your branch.
- Ensure that you have the correct tunnels open against Hasta.
- Ensure that you point to the correct alembic config when you apply the revisions with
alembic --config <config path>
upgrade head`
- Take a screenshot or copy log text and post as a comment on the PR. Screenshot should include environment and that it succeeded.
- Great job 🐋