These are manual steps to bump the version of Galasa to the next version.
-
Create a new branch in all of the repositories below called something like 'version-bump' (don't call it 'release').
-
Upgrade Galasa
a. Invoke the
./tools/set-version --version {new version}script in which invokes a separateset-version.shfor each module.b. Run the
./tools/build-locally.sh, which will invoke each individual module'sbuild-locally.shscript, which will update the versions in the generatedrelease.yamls.c. Manually check that all dev.galasa bundles have been upgraded. Do a search for the current version in VSCode to check for any versions that did not get uplifted by the script, and replace with the new development version.
d. Make sure the API Server starts locally.
e. Push the changes to your branch, open a PR, wait for the PR build to pass, then merge in the PR, and wait for the Main build to pass and finish.
f. When the Isolated Main build is triggered following the CLI module build, cancel it on the GitHub UI here with the "Cancel Workflow" button, as you are going to rebuild it in a next step anyway.
Note: Once the Galasa mono repo's build finishes, this will trigger the
recycle-prod1Tekton pipeline, which will then trigger therun-testsTekton pipeline. Therun-testswill fail as the CPS properties have not yet been upgraded to the new development version (unless you have already done it with galasactl) - this is okay. -
Upgrade Helm
a. Invoke the
set-version --version {new version}script.b. Push the changes to your branch, open a PR, wait for the PR build to pass, then merge in the PR, and wait for the Main build to pass and finish.
-
Upgrade Simplatform
a. Invoke the
set-version --version {new version}script. Note: This will fail if the Galasa OBR has not been fully rebuilt and redeployed yet to the development.galasa.dev site, as theset-version.shscript usesmvnto uplift the versions, which will look for Simplatform's dependencies at the new version in Maven Central then the development.galasa.dev site.b. Push the changes to your branch, open a PR, wait for the PR build to pass, then merge in the PR, and wait for the Main build to pass and finish.
-
Upgrade Web UI
a. Invoke the
set-version --version {new version}script.b. Push the changes to your branch, open a PR, wait for the PR build to pass, then merge in the PR, and wait for the Main build to pass and finish.
-
Upgrade Integratedtests (not a released component)
a. Currently no
set-version.shscript exists so do a search for the current version in VSCode and replace with the new development version. Note: A story is open to create a set-version script so this should be updated when that is complete. Manually check that all dev.galasa bundles have been upgraded then runbuild-locally.shto check it builds.b. Push the changes to your branch, open a PR, wait for the PR build to pass, then merge in the PR, and wait for the Main build to pass and finish.
-
Upgrade the internal integrated tests (not a released component)
a. Currently no
set-version.shscript exists so do a search for the current version in VSCode and replace with the new development version. Note: A story is open to create a set-version script so this should be updated when that is complete.b. Push the changes to your branch, open a PR, then merge in the PR, and wait for the Main build to pass and finish.
-
Upgrade Isolated
a. Invoke the
set-version --version {new version}script.b. Make sure it builds with the
build-locally.sh.c. Push the changes to your branch, open a PR, wait for the PR build to pass, then merge in the PR, and wait for the Main build to pass and finish.