ON-PREM CHOREO CLOUD BOTH

What it is

Pointer promotion is how Choreo Cloud moves a release between environments. Every manifest lives on main of wso2cloud-deployment. Each environment only pins which commit of main it syncs from. To promote, the pin is changed to a newer commit. Nothing is copied between branches and no image is rebuilt.

It is like moving a flag on a map, not moving the troops. Everyone already has the same orders, and the flag says which version they follow.

Why it exists

The images were already built and tested in dev. Re-pointing keeps the exact same images and manifests moving through the environments, so what reaches production is what was tested.

How it works

  • The SRE team starts the manual-promote-environment ClusterWorkflow, after a CR (change request) is handed over, with a source branch, a target branch and a source commit.
  • The workflow opens a pull request that changes only the base.yaml pins on the target environment branch.
  • QA checks the change in the lower environment, then a Platform Engineer reviews and merges the pull request.
  • Flux in the target environment syncs the manifests from the pinned commit. The same pre-built images are pulled.
  • The entire environment state moves together. There is no per-component promotion.

Key facts

Workflow
manual-promote-environment
Changes
only the base.yaml pins
Images
never rebuilt on promotion
Scope
the whole environment, not one component
Prod trigger
a CR (change request) is created and handed to the SRE team, who make the change

Used by (1)