When a new MCE (Multicluster Engine) version is released, a new branch needs to be created in the CAPOA project to match that version.
The script performs the following actions:
- Detects the freeze version - automatically finds the latest
backplane-X.Ybranch - Creates a new branch named
backplane-X.Yfor the next version (clean copy of master) - Updates Tekton files - renames files and updates their content to the new version
- Updates Dockerfiles - updates the
cpelabel version inDockerfile.j2,Dockerfile.bootstrap-providerandDockerfile.controlplane-provider - Updates
renovate.json- adds the freeze branch to the list of branches receiving Konflux updates - Updates
sync-branch.yaml- sets theTARGET_BRANCHto the new branch - Creates a PR to master with all the changes (changes are fast-forwarded to the release branch after merge)
Note: Requires Write access to the repository.
- Go to Release Branch Generator
- Click "Run workflow"
- (Optional) Enter the next version only for non-sequential jumps (e.g.,
2.17or5.0) - Click "Run workflow"
The workflow will automatically detect the current version to freeze and calculate the next version.
For standard incremental releases, just run the workflow without parameters:
- Freeze version: auto-detected (e.g.,
2.11) - Next version: auto-calculated (e.g.,
2.12)
For non-sequential jumps (e.g., MCE alignment with ACM, or OCP 5):
- Next version:
2.17(or5.0) - Freeze version: auto-detected from existing branches