mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2026-06-04 01:22:05 +03:00
6.1 KiB
6.1 KiB
sort
| sort |
|---|
| 18 |
Release process guidance
Release version and Docker images
- Make sure that the release commits have no security issues.
- 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 tags to https://github.com/VictoriaMetrics/VictoriaMetrics :
git push origin v1.xx.yandgit push origin v1.xx.y-cluster. Do not push-enterprisetags to public repository. - Go to https://github.com/VictoriaMetrics/VictoriaMetrics/releases , create new release from the pushed tag on step 4 and upload
*.tar.gzarchive with the corresponding_checksums.txtfrom step 3. - Copy the CHANGELOG for this release to releases page.
- Bump version of the VictoriaMetrics cluster setup in for sandbox environment by opening and merging PR.
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
- Update
vmagentchart version invalues.yamlandChart.yaml - Update
vmalertchart version invalues.yamlandChart.yaml - Update
vmauthchart version invalues.yamlandChart.yaml - Update
clusterchart versions invalues.yaml, bump version forvmselect,vminsertandvmstorageandChart.yaml - Update
k8s-stackchart versions invalues.yaml, bump version forvmselect,vminsert,vmstorage,vmsingle,vmalert,vmagentandChart.yaml - Update
single-nodechart version invalues.yamlandChart.yaml - Run
make gen-doc - Run
make packagethat creates or updates zip file with the packed chart - Run
make merge. It creates or updates metadata for charts in index.yaml - Push changes to master.
masteris a source of truth - Push the changes to
gh-pagesbranch
Ansible Roles
Bump the version of images
Repository https://github.com/VictoriaMetrics/ansible-playbooks
- Update
vmagentversion inmain.yml - Update
vmalertversion inmain.yml - Update
clusterversion inmain.yml - Update
singleversion inmain.yml - Commit changes
- Create a new tag
- Create a new release. This automatically publishes the new versions to galaxy.ansible.com
Github pages
All changes in README.md, docs folder and .md extension automatically push to Wiki