Reusable GitHub Actions workflows and scripts for releasing RBLN-SW cloud components.
cut-releasecreatesrelease-X.Y.Zand tagsvX.Y.Z-rc1.vX.Y.Z-rcNtags publish images (and an optional Helm chart) to the staging registry.- Fixes land on
mainand are backported with thebackport release-X.Y.Zlabel. tag-release gatagsvX.Y.Z; the rc images are promoted by digest to the public registry.
.github/workflows/ reusable workflows (workflow_call): cut-release, tag-release, backport, release-policy, release
scripts/ shell scripts behind the workflows
rulesets/ branch and tag protection, applied with scripts/apply-rulesets.sh
templates/workflows/ caller stubs to copy into a repository's .github/workflows/
tests/ bats tests for the scripts
- Copy
templates/workflows/*.yamlinto.github/workflows/and fill in thewith:values. - Provide a
make build-image IMAGE_NAME=<registry>/<image> VERSION=<tag> BUILD_MULTI_PLATFORM=true PUSH_ON_BUILD=truetarget. - Set the
CLOUD_COMPONENT_*variables and secrets referenced in the workflow headers. - Run
scripts/setup-labels.shandscripts/apply-rulesets.shfor the repository.
bats tests
shellcheck -x -P SCRIPTDIR scripts/*.sh tests/helpers.bash
actionlint .github/workflows/*.yaml templates/workflows/*.yaml
Consumers pin the moving major tag v1.