When all tests done and successful and PR is approved by codeowners, follow these steps:
- Ensure that you update the version in
microSALT/__init__.py
- Select "Squash and merge" to merge branch into default branch (master).
- Deploy master to stage:
- Log in to appropriate server
ssh <server.scilifelab.se>
us
- Install microSALT using one of the following commands
- If you have updated the
environment.yml
:sudo -iu hiseq.clinical us bash /home/proj/production/servers/resources/hasta.scilifelab.se/install-microsalt-stage.sh master
- Otherwise run:
bash /home/proj/production/servers/resources/hasta.scilifelab.se/update-tool-stage.sh -e S_microSALT -t microSALT -b master
- If you have updated the
- Make sure that the installation was successful
- Log in to appropriate server
- Deploy master to production:
- Log in to appropriate server
ssh <server.scilifelab.se>
up
- Install microSALT using one of the following commands
- If you have updated the
environment.yml
:sudo -iu hiseq.clinical up bash /home/proj/production/servers/resources/hasta.scilifelab.se/install-microsalt-prod.sh
- Otherwise run:
bash /home/proj/production/servers/resources/hasta.scilifelab.se/update-tool-prod.sh -e P_microSALT -t microSALT -b master
- If you have updated the
- Make sure that the installation was successful
- Log in to appropriate server