Module 4: CI/CD & Release Engineering: Worked Examples
Example 1: Build Once, Promote the Same Artifact
Building separately in staging and production permits source, dependency, or toolchain drift. Produce one immutable, signed artifact; attach provenance and scan results; promote its digest through environments with environment-specific configuration.
Example 2: Bound a Progressive Release
Send 5% traffic to a canary, compare user-visible error/latency SLIs against control for a defined window, and automate abort. A canary without a decision threshold is merely a slower full rollout.
Example 3: Measure Delivery Without Gaming It
Define current DORA delivery events for one service, including deployment rework. Use trends to find one constraint; do not rank individuals or unlike teams. Pair delivery metrics with product outcomes and SLOs.
Completion Standard
- Prove artifact identity across environments.
- Execute automatic canary rollback from an injected regression.
- Produce a five-metric baseline and one improvement experiment.