-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* prepare release 4.5 * revert setup and include DEPLOYMENT.md
- Loading branch information
1 parent
f580123
commit 6a2af80
Showing
2 changed files
with
41 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# Deployment guide | ||
This includes instructions for deploying Chanjo in the Clinical Genomics :hospital: setting. General instructions for deployment is in the [development guide][development-guide] | ||
|
||
## Branch model | ||
|
||
Chanjo if following the [GitHub flow][gh-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][pr-version] | ||
1. Make sure you are on `master` (`git checkout master`) and bump version according to step 1, example: `bumpversion minor` | ||
1. Push the commit: `git push` | ||
1. Push the tag: `git push --tags` | ||
1. First deploy on stage so log into hasta and run: | ||
- `us` | ||
- `bash /home/proj/production/servers/resources/hasta.scilifelab.se/update-chanjo-stage.sh master` | ||
1. Deploy in productions by running the following commands: | ||
- `down` | ||
- `up` | ||
- `bash /home/proj/production/servers/resources/hasta.scilifelab.se/update-chanjo-prod.sh` | ||
1. Take a screen shot that includes the name of the environment and publish it as a comment on the PR. | ||
1. Great job :whale2: | ||
|
||
|
||
|
||
|
||
|
||
[pr-version]: docs/img/version.png | ||
[development-guide]: http://www.clinicalgenomics.se/development/publish/prod/ | ||
[gh-flow]: http://www.clinicalgenomics.se/development/dev/models/#rolling-release-github-flow |