Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 1.42 KB

DEPLOYMENT.md

File metadata and controls

33 lines (23 loc) · 1.42 KB

Deployment guide

This includes instructions for deploying Chanjo in the Clinical Genomics 🏥 setting. General instructions for deployment is in the development guide

Branch model

Chanjo if following the GitHub flow branching model which means that every time a PR is merged to master a new release is created.

Requirements

  • bumpversion, install with pip install bumpversion

Steps

  1. Check in the PR if the change is a minor, mayor or patch: Version
  2. Make sure you are on master (git checkout master) and bump version according to step 1, example: bumpversion minor
  3. Push the commit: git push
  4. Push the tag: git push --tags
  5. 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
  6. 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
  7. Take a screen shot that includes the name of the environment and publish it as a comment on the PR.
  8. Great job 🐋