Releasing a service
This release step is done by the repository maintainers.
To perform a service release do:
While you should keep the
CHANGELOG.mdup to date at all times, now is a good time to check if you have forgotten something. Also, review if it fits the common format.In the changelog, update the version from
[Unreleased]to the current version to be released and the current date. Remove all the unused sections. Commit and push.Bump the version in the file holding the current version. Commit and push the version update.
Release the version by running
make release. This command tags and pushes the current branch.Then create a new template section with the
[Unreleased]header and all required sections.
As soon a version tag is pushed, the CI/CD Pipeline performs these steps:
Create a GitLab release with the provided
CHANGELOG.mdas its release notes.Pushes the image to Docker Hub.
Build the Docker Image and automatically tags the release with
latestand<release version>.