CI and Release Management - e-Learning-by-SSE/nm-self-learning GitHub Wiki

Release Management

Master

Every commit to the master is pushed as 'unstable' docker tag.

TAGS

Use only for releases:

  • 'latest' docker tag is pushed
  • A tag with the current version is pushed, eg ' 1.0.0'

Release routine

NOTE: With this commit was a dedicated release stage introduced which can be used to automate this.

  1. Set the version you want inside the package.json
  2. Upload a tag. e.g. git tag v0.4.1 && git push origin v0.4.1
  3. In jenkins you can to the respective tag build (or the latest commit in master if this applies) and click on "build with parameter".
  • If you want to test the build first, select only FULL_BUILD. If you're ready to release the docker image, then select FULL_BUILD, PUBLISH and choose the latest tag. Then hit Build. grafik
  1. If you're done, create a release on github.

Staging routine

Coming soon.