Skip to content

wip: How to update gs cloud version and create a new release

Andrea Borghi edited this page Mar 13, 2023 · 6 revisions

Prerequisites

  • helm V3 is installed. If needed, follow README at https://github.com/camptocamp/private-geo-charts
  • If you have several versions of helm installed, you should set the HELM environment variable to point to a Helm V3 installation: export HELM=<your_helm_v_3

Update image tag

If we are upgrading the image, with the new chart we only need to change the image tag in the value file.

sed -i 's,1.0-RC29,1.0-RC30,g' values.yaml

submodule_config

In this example, we update to GS-Cloud RC26; adapt the command according to your need:

cd submodule_config
git checkout master
git pull
git checkout v1.0-RC30
cd ..

Final steps

  • update the files tests/expected-*.yamlas follows: make -e gen-expected (the option -e is only necessary if the HELM environment variable is set)
  • create a branch; commit, push, do a pull request, and wait for CI test results.
  • if the CI is successful, merge the pull request
  • create a tag on master and push it. In this example, we are creating a new release 0.1.1, update the commands as needed:
git checkout master
git pull
git tag 0.1.1
git push origin 0.1.1
Clone this wiki locally