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
- Promotion: from a tested commit to stage and production Not started In progress Done
- The image hotfix, step by step Not started In progress Done
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
| Line | When you use it | Who acts | What moves |
|---|---|---|---|
| To dev | Every merge to main of a source repository | The build pipeline and Flux. A person reviews the source pull request | The changed components only, and only on dev |
| Promotion | A commit that passed a release candidate and should reach stage and then production | A requester creates a CR. The SRE team runs the workflow. Platform Engineering merges the pin pull request | The whole state of an environment, by moving one pin |
| Hotfix | A bug that customers feel, with a fix that must not drag other changes along | A developer tags the fix. The SRE team applies it on stage first | One 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
- 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.
- 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.
- 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.
- 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.
Wrap up
Recap
Tick each one when you could explain it to a colleague.
Finished?
Chapter complete. Every lesson in this chapter is done.
Progress cannot be saved in this browser, so it will be forgotten when you leave this page.
Quick check
Loading the quick check...
Loading the quick check...
Spotted something wrong or unclear in this lesson? Report an inaccuracy (opens GitHub in a new tab)