ON-PREM CHOREO CLOUD BOTH

What it is

A hotfix-manifests-<tag> branch and its vhotfix tag are made by the manual-deploy-hotfix workflow in wso2cloud-deployment. The branch carries the manifests of exactly what the environment runs now, with the fixed image tags and regenerated ComponentReleases applied on top. The same commit is tagged vhotfix-YYYYMMDD-n, and the environment pin is then moved to it.

It is a patched copy of exactly what is running, kept on a side shelf. It is not a new edition of the whole book.

Why it exists

A hotfix has to change one thing without dragging in hundreds of other changes that sit on main. Building on top of the commit the environment already pins keeps the change small.

How it works

  • The workflow checks out the commit the target environment's base.yaml pins.
  • It writes the hotfix image tags into workload.yaml, regenerates the ComponentReleases with occ and updates the ReleaseBindings.
  • It pushes the result to a branch named hotfix-manifests-<tag> and tags that commit vhotfix-YYYYMMDD-n in wso2cloud-deployment.
  • It opens a pull request on a branch named hotfix-update-<env>-<epoch> that points the environment's pin at the new commit. A QA representative and a Platform Engineer must approve it.
  • After merge, the bot commit reads: HOTFIX: Pin <env> base configurations to commit <sha12> (tag <tag>).

Key facts

Branch name
hotfix-manifests-<tag>
Tag name
vhotfix-YYYYMMDD-n, in wso2cloud-deployment
Made by
manual-deploy-hotfix ClusterWorkflow
Tag sequence
independent of vhotfix tags in the source repository
Backport
the developer must also land the fix on main
Namespace
WD

Talks to (1)

Inside and around

Part of: manual-deploy-hotfix