ON-PREM CHOREO CLOUD BOTH

What you will learn

  • Pick the right delivery path for a change from what the change is and how urgent it is
  • Say which paths need a CR to the SRE team and which do not
  • Tell a promotion from a hotfix, and a deployment-file hotfix from an image hotfix
  • Say what happens to a change on each path after it reaches its first environment

Before you start

On this page

You now know three delivery paths: the automatic path to dev, the promotion path and the hotfix path. This challenge asks you to pick the right one for a change. Think like a dispatcher who sends each change down the right line.

The three lines

LineWhen you use itWho actsWhat moves
To devEvery merge to main of a source repositoryThe build pipeline and Flux. A person reviews the source pull requestThe changed components only, and only on dev
PromotionA commit that passed a release candidate and should reach stage and then productionA requester creates a CR. The SRE team runs the workflow. Platform Engineering merges the pin pull requestThe whole state of an environment, by moving one pin
HotfixA bug that customers feel, with a fix that must not drag other changes alongA developer tags the fix. The SRE team applies it on stage firstOne fix on top of the commit the environment runs

Two cross-cutting rules.

  • Stage and production environments are not changed directly. In the team’s process, a CR (change request) is created and handed to the SRE team. Dev changes deploy on merge, gated by the review of the source pull request.
  • A hotfix must also reach main. Otherwise the next full release can overwrite it.

Questions to ask about a change

  1. Where does the broken code live? In the agent platform repository, in the open source core, or in the deployment files? Core changes first reach the agent platform repository through the hourly sync, the hand-off and a dependency pull request. A change to deployment files that builds no image uses a tag on the deployment repository.
  2. Is it routine or urgent? A routine change takes the line to dev, then a release candidate, then promotion. An urgent customer bug on a live environment takes the hotfix line.
  3. Which environment? Dev needs no CR. Stage and production do. A hotfix goes to stage before production, and only the Senior Leadership Team can approve skipping that in an emergency.
  4. Does it change the database? On Choreo Cloud the Agent Manager service does not migrate its database at startup, so a new migration does not run by itself. The files do not describe a hotfix with a migration, so ask the SRE team.

Your turn

Open Try it and match the seven changes to their paths. Then use the quiz to test yourself on four scenarios that mix the lines.

Recap

  • To dev: merge, build, Flux. No CR.
  • Promotion: release candidate, CR, promotion workflow, pin pull request. The whole environment state moves.
  • Hotfix: base on the commit the environment runs, tag, CR, stage first, then production, then main.
  • A deployment-file hotfix builds no image. A core change reaches the agent platform repository through a dependency pull request.

Try it

Match them up

What to do: pick an item on the left, then its partner on the right.

Loading the matching game...

Wrap up

Recap

Tick each one when you could explain it to a colleague.

Finished?

Quick check

Loading the quick check...

Spotted something wrong or unclear in this lesson? Report an inaccuracy (opens GitHub in a new tab)