‹ Study library
DevOps

Design a repeatable delivery pipeline

Trace one change from commit to release, then practise rolling it back.

Build once

A commit starts a build. Tests check the change and the build produces an identifiable artifact. Record its digest so staging and production can run exactly the same bytes.

Promote the artifact

Promote the tested digest after a smoke test succeeds. Keep environment-specific settings outside the artifact. Record the previous digest before the rollout begins.

Exercise

Draw a release that passes tests but fails its production health check. Label the point where traffic stops moving to the new release. Explain how you would restore the previous digest and verify recovery.