mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2026-05-17 08:36:55 +03:00
* Lint YAML * Remove extra comment * Fix command problem * Format MD files * Format & fix problem of MD files for docs * Another fix for MD files
4.0 KiB
4.0 KiB
sort
| sort |
|---|
| 17 |
Release process guidance
Release version and Docker images
- Document all the changes for new release in CHANGELOG.md.
- Create the following release tags:
git tag -s v1.xx.yinmasterbranchgit tag -s v1.xx.y-clusterinclusterbranchgit tag -s v1.xx.y-enterpriseinenterprisebranchgit tag -s v1.xx.y-enterprise-clusterinenterprise-clusterbranch
- Run
TAG=v1.xx.y make publish-release. It will create*.tar.gzrelease archives with the corresponding_checksums.txtfiles insidebindirectory and publish Docker images for the givenTAG,TAG-cluster,TAG-enterpriseandTAG-enterprise-cluster. - Push release tag to https://github.com/VictoriaMetrics/VictoriaMetrics :
git push origin v1.xx.y. - Go to https://github.com/VictoriaMetrics/VictoriaMetrics/releases , create new release from the pushed tag on step 5 and upload
*.tar.gzarchive with the corresponding_checksums.txtfrom step 2.
Building snap package
pre-requirements:
- snapcraft binary, can be installed with commands:
for MacOS
brew install snapcraftand install mutipass, for Ubuntu -sudo snap install snapcraft --classic - exported snapcraft login to
~/.snap/login.jsonwithsnapcraft export-login login.json && mkdir -p ~/.snap && mv login.json ~/.snap/ - already created release at github (it operates
git describeversion, so git tag must be annotated).
- checkout to the latest git tag for single-node version.
- execute
make release-snap- it must build and upload snap package. - promote release to current, if needed manually at release page snapcraft-releases
Public Announcement
- Publish message in Slack at https://victoriametrics.slack.com
- Post at Twitter at https://twitter.com/MetricsVictoria
- Post in Reddit at https://www.reddit.com/r/VictoriaMetrics/
- Post in Linkedin at https://www.linkedin.com/company/victoriametrics/
- Publish message in Telegram at https://t.me/VictoriaMetrics_en and https://t.me/VictoriaMetrics_ru1
- Publish message in google groups at https://groups.google.com/forum/#!forum/victorametrics-users
Helm Charts
The helm chart repository https://github.com/VictoriaMetrics/helm-charts/
Bump the version of images
In that case, don't need to bump the helm chart version
- Need to update
values.yaml, bump version forvmselect,vminsertandvmstorage - Specify the correct version in
Chart.yaml - Update version README.md, specify the new version in the documentation
- Push changes to master.
masteris a source of truth - Rebase
masterintogh-pagesbranch - Run
make packagewhich creates or updates zip file with the packed chart - Run
make merge. It creates or updates metadata for charts in index.yaml - Push the changes to
gh-pagesbranch
Updating the chart
- Update chart version in
Chart.yaml - Update README.md file, reflect changes in the documentation.
- Repeat the procedure from step 4 previous section.
Wiki pages
All changes from docs folder and .md extension automatically push to Wiki
Note: no vice versa, direct changes on Wiki will be overitten after any changes in docs/*.md
Github pages
All changes in README.md, docs folder and .md extension automatically push to Wiki