@@ -49,3 +49,185 @@ If the Docker image tags change, then the related charts should also be updated:
must have the `version` field incremented. Similarly for any dependent `Chart.yaml`
files. The `appVersion` field gets updated as well, if was in sync with the
`version` field.
## `make-a-release`
There is a make target provided that is a guide that steps you through the process of making a release. This will run the various sub-targets in the right sequence to ensure a complete release is done for OCI images and Helm Charts.
Run:
```
$ make make-a-release
```
The following is a sample flow of the guided release process:
```
This is a guild to creating a release of ska-tango-images, including OCI Images and Helm Charts.
You 🔥MUST🔥 first have merged your Merge Request!!!
The steps are:
* git checkout master && git pull
* Select and bump OCI Image .release's
* bump project .release AND update Helm Chart release AND the tango-util version dependency in tango-base
* Commit .release and ANY outstanding changes, and set project git tag
* Push changes and tag
✋ The current git status (outstanding) is:
On branch master
Your branch is up-to-date with 'origin/master'.
nothing to commit, working tree clean
Do you wish to continue (you will be prompted at each step) [N/y]: y
❗ OK - lets build a release ...
Step 1: >> git checkout master && git pull
switching from branch: master to master
Do you wish to continue (you will be prompted at each step) [N/y]: y
OK - ✨ lets switch to master and pull ...
Already on 'master'
Your branch is up-to-date with 'origin/master'.
Already up-to-date.
Step 2: Select and bump OCI Image .release's
Tell me which of the following OCI_IMAGES_TO_PUBLISH list to bump patch release for: ska-tango-images-tango-dependencies ska-tango-images-tango-dependencies-alpine ska-tango-images-tango-db ska-tango-images-tango-cpp ska-tango-images-tango-cpp-alpine ska-tango-images-tango-java ska-tango-images-tango-java-alpine ska-tango-images-tango-rest ska-tango-images-pytango-builder ska-tango-images-pytango-builder-alpine ska-tango-images-tango-pogo ska-tango-images-tango-libtango ska-tango-images-tango-jive ska-tango-images-pytango-runtime ska-tango-images-pytango-runtime-alpine ska-tango-images-tango-admin ska-tango-images-tango-databaseds ska-tango-images-tango-test ska-tango-images-tango-dsconfig ska-tango-images-tango-itango ska-tango-images-tango-vnc ska-tango-images-tango-pytango ska-tango-images-tango-panic ska-tango-images-tango-panic-gui
Enter list here: ska-tango-images-tango-dependencies ska-tango-images-tango-dependencies-alpine
You provided: ska-tango-images-tango-dependencies ska-tango-images-tango-dependencies-alpine
Do you wish to continue (you will be prompted at each step) [N/y]: y
make bump-patch-release RELEASE_CONTEXT_DIR=images/ska-tango-images-tango-dependencies; make bump-patch-release RELEASE_CONTEXT_DIR=images/ska-tango-images-tango-dependencies-alpine;