Release a new version
This is a small guide to make a new MedCo release.
Before releasing
Update dependencies
Glowing Bear MedCo
Update the Angular version and ensure node version in docker image is compatible with angular
NPM packages: npm update and review with npm outdated
Dockerfile go base image version: FROM golang:1.15
go.mod go version: go 1.15
Check that all the CI/CD pipeline on GitHub passes (this tests the whole backend with the profile dev-local-3nodes)
Deploy locally test-local-3nodes to manually test Glowing Bear MedCo
Deploy locally on several machines test-network to manually test the deployment over several machines, and the generation of its configuration
To change the version of the docker images used, update the .env file in the deployment folder:
Making a release
Update the version of Glowing Bear MedCo GB_VERSION in the Makefile to point to the correct Docker tag that will be released (e.g. v1.0.0)
Release on GitHub
Version numbers follow , and both codebases should have the same version. For both codebases:
Out of the dev branch, create a new release (and the associated tag) with the semantic version (e.g. v1.0.0)
Ensure the CI/CD pipeline correctly builds the new release
Update documentation
Create new variant named like the MedCo version being release (e.g. v1.0.0). When merged it will be pushed as a branch on GitHub.
Update version numbers in the guides' download scripts (e.g. docker-compose pull
After the release
Ensure on GitHub that all images have been built correctly with the proper versioning.
Update to the new version .
Update medco.epfl.ch website with the new version and update the roadmap.