- Need to update
values.yaml
, - Specify the correct version in
Chart.yaml
- Update version README.md, specify the new version in the documentation
- Push changes to master.
master
is a source of truth - Rebase
master
intogh-pages
branch - Run
make package
which 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-pages
branch
checkout to the latest release:
git checkout tags/v0.7.2
- build package manifest:
TAG=v0.7.2 make packagemanifests
- add replacement for a previous version to generated cluster csv:
vi packagemanifests/0.7.2/victoriametrics-operator.0.7.2.clusterserviceversion.yaml
spec:
replaces: victoriametrics-operator.v0.6.1
-
publish changes to the quay, login first with your login, password:
bash hack/get_quay_token.sh
, copy token content to varexport AUTH_TOKEN="basic afsASF"
, then push change to quay:TAG=v0.7.2 make packagemanifests-push
-
now you have to copy content of packagemanifests to the community-operators repo, first for upstream, next for community, sign-off commits and create PRs.
cp -R packagemanifests/* ~/community-operators/upstream-community-operators/victoriametrics-operator cd ~/community-operators git add upstream-community-operators/victoriametrics-operator/0.7.2/ git add upstream-community-operators/victoriametrics-operator/victoriametrics-operator.package.yaml git commit -m "updates victoriametrics operator version 0.7.2 Signed-off-by: Nikolay Khramchikhin <[email protected]>" --signoff
checkout to the new branch and create separate commit for openshift operator-hub
cp -R packagemanifests/* ~/community-operators/community-operators/victoriametrics-operator cd ~/community-operators git add community-operators/victoriametrics-operator/0.7.2/ git add community-operators/victoriametrics-operator/victoriametrics-operator.package.yaml git commit -m "updates victoriametrics operator version 0.7.2 Signed-off-by: Nikolay Khramchikhin <[email protected]>" --signoff
-
create pull requests at community-operator repo: https://github.com/operator-framework/community-operators