ON-PREM CHOREO CLOUD BOTH

What it is

autobuild-hotfix-image is the first half of a hotfix. It starts when someone pushes a tag named vhotfix-YYYYMMDD-N to a source repository. It builds every component listed in that repository's .cicd folder and pushes each image to ECR using the tag as the image tag. It changes nothing in the GitOps repository.

Like a bakery that bakes a fresh batch to a customer's recipe and puts it on the pickup shelf, and then phones the delivery driver.

Why it exists

A hotfix needs images that can be deployed at once, built from exactly the tagged commit and not dependent on what is on main.

How it works

  • A person pushes a tag such as vhotfix-20261110-1. The hotfix-release sensor only accepts tag names of that shape (a date and a number). Other tags start nothing.
  • A first step checks the tag shape again and fails the run if it does not match.
  • The source is cloned at the tagged commit. The build compares against an all-zero 'before' hash, so every .cicd component counts as changed and is built.
  • Each image is built, scanned by Trivy and pushed as <ecr repository>:<tag>.
  • A Google Chat card lists the images pushed and says a platform engineer can now run the manual deploy.

Key facts

Tag shape
vhotfix-YYYYMMDD-N
Sensor
hotfix-release
ClusterWorkflow
autobuild-hotfix-image
Image
<ecr repository>:<hotfix tag>
Tags are immutable
If the tag was already built the run fails, so push the next number instead
Who pushes the tag
A developer, according to the README
Next step
manual-deploy-hotfix, run by hand
Namespace
cicd

Talks to (1)

Used by (1)

Inside and around

Contains: Image tag vhotfix-YYYYMMDD-N