Pre-reqs #
- Make sure you have singing key configured
Release version and Docker images #
- Make sure all the changes are documented in CHANGELOG.md . Ideally, every change must be documented in the commit with the change. Alternatively, the change must be documented immediately after the commit, which adds the change.
- Make sure that the release branch has no security issues.
- Update config-reloader image in config.go with the name of new tag.
- Run
make docsin order to update variables documentation files. - Run
make build-installerto build Github tag artefacts. Everything inside/distshould be included to the release. - Cut new version in CHANGELOG.md
- create release tag with
git tag vX.X.Xcommand and push it to the origin -git push origin vX.X.X - Go to github Releases Page
and
Draft new Releasewith the name of pushed tag. - Update the release description with the content of CHANGELOG for this release.
Release follow-up #
Wait until github CI job Release finishes.
Bump the version of images #
The helm chart repository https://github.com/VictoriaMetrics/helm-charts/
Merge PR
with the following name pattern - Automatic update operator crds from VictoriaMetrics/operator@* if there is any.
Bump tag field in values.yaml with new release version.
Bump appVersion field in Chart.yaml with new release version.
Add new line to “Next release” section in CHANGELOG.md about version update (the line must always start with “-”). Do NOT change headers in CHANGELOG.md.
Bump version field in Chart.yaml with incremental semver version (based on the CHANGELOG.md analysis).
Do these updates to the following charts:
Update
operatorchart version invalues.yamlandChart.yamlUpdate
crdschart version invalues.yamlPush changes to the origin and release
operatorandcrdscharts by triggering Release Charts CI action.Wait for CI finish
Bump
appVersionfield in k8s-stackChart.yamlwith new release version.bump
dependencieswithname: victoria-metrics-operatorto follow version of recently release operator chart