This includes instructions for deploying Chanjo in the Clinical Genomics 🏥 setting. General instructions for deployment is in the development guide
Chanjo if following the GitHub flow branching model which means that every time a PR is merged to master a new release is created.
bumpversion
, install withpip install bumpversion
- Check in the PR if the change is a minor, mayor or patch:
- Make sure you are on
master
(git checkout master
) and bump version according to step 1, example:bumpversion minor
- Push the commit:
git push
- Push the tag:
git push --tags
- First deploy on stage so log into hasta and run:
us
bash /home/proj/production/servers/resources/hasta.scilifelab.se/update-tool-stage.sh -e S_chanjo -t chanjo -b master
- Deploy in productions by running the following commands:
down
up
bash /home/proj/production/servers/resources/hasta.scilifelab.se/update-tool-prod.sh -e P_chanjo -t chanjo -b master
- Take a screen shot that includes the name of the environment and publish it as a comment on the PR.
- Great job 🐋