mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-01 14:47:38 +00:00
6.2 KiB
6.2 KiB
sort |
---|
18 |
Release process guidance
Release version and Docker images
- Make sure that the release commits have no security issues.
1a. Document all the changes for new release in CHANGELOG.md.
1b. Add
(available in v1.xx.y)
line to feature docs introduced in the upcoming release. - Create the following release tags:
git tag -s v1.xx.y
inmaster
branchgit tag -s v1.xx.y-cluster
incluster
branchgit tag -s v1.xx.y-enterprise
inenterprise
branchgit tag -s v1.xx.y-enterprise-cluster
inenterprise-cluster
branch
- Run
TAG=v1.xx.y make publish-release
. It will create*.tar.gz
release archives with the corresponding_checksums.txt
files insidebin
directory and publish Docker images for the givenTAG
,TAG-cluster
,TAG-enterprise
andTAG-enterprise-cluster
. - Push release tags to https://github.com/VictoriaMetrics/VictoriaMetrics :
git push origin v1.xx.y
andgit push origin v1.xx.y-cluster
. Do not push-enterprise
tags to public repository. - Go to https://github.com/VictoriaMetrics/VictoriaMetrics/releases , create new release from the pushed tag on step 4 and upload
*.tar.gz
archive with the corresponding_checksums.txt
from 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 snapcraft
and install mutipass, for Ubuntu -sudo snap install snapcraft --classic
- exported snapcraft login to
~/.snap/login.json
withsnapcraft export-login login.json && mkdir -p ~/.snap && mv login.json ~/.snap/
- already created release at github (it operates
git describe
version, 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
vmagent
chart version invalues.yaml
andChart.yaml
- Update
vmalert
chart version invalues.yaml
andChart.yaml
- Update
vmauth
chart version invalues.yaml
andChart.yaml
- Update
cluster
chart versions invalues.yaml
, bump version forvmselect
,vminsert
andvmstorage
andChart.yaml
- Update
k8s-stack
chart versions invalues.yaml
, bump version forvmselect
,vminsert
,vmstorage
,vmsingle
,vmalert
,vmagent
andChart.yaml
- Update
single-node
chart version invalues.yaml
andChart.yaml
- Run
make gen-doc
- Run
make package
that 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.
master
is a source of truth - Push the changes to
gh-pages
branch
Ansible Roles
Bump the version of images
Repository https://github.com/VictoriaMetrics/ansible-playbooks
- Update
vmagent
version inmain.yml
- Update
vmalert
version inmain.yml
- Update
cluster
version inmain.yml
- Update
single
version 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