Skip to content

Commit

Permalink
Release 4.5 (#220)
Browse files Browse the repository at this point in the history
* prepare release 4.5

* revert setup and include DEPLOYMENT.md
  • Loading branch information
northwestwitch committed Nov 12, 2020
1 parent f580123 commit 6a2af80
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 4 deletions.
11 changes: 7 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,16 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## [4.4.0] - 2020-02-12

## [4.5.0] - 2020-11-12
### Added
- User can pass on file with row separated gene IDs for coverage calculation
- Dockerfile
- Added the Docker image build and push triggered by new releases
- Added githib action running pytest and coveralls
- Added github action running pytest and coveralls
- Software deployment instructions

## [4.4.0] - 2020-02-12
### Added
- User can pass on file with row separated gene IDs for coverage calculation

## [4.3.0] - 2020-02-05

Expand Down
34 changes: 34 additions & 0 deletions DEPLOYMENT.md
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

0 comments on commit 6a2af80

Please sign in to comment.