5 · Platform engineering

14. CI/CD and Progressive Delivery

Pipelines, environment promotion, deployment strategies and rollback.

9 min read · 3 MCQs

The pipeline

Continuous integration builds, tests, scans and produces one immutable artefact. Continuous delivery promotes that same artefact through environments, changing configuration only. If a build is remade per environment, you are not testing what you ship.

Deployment strategies

Rolling updates replace instances gradually. Blue-green keeps two full environments and switches traffic instantly, giving a clean rollback. Canary sends a small traffic slice to the new version and promotes on healthy metrics. Feature flags separate deployment from release entirely.

Rollback and safety

Every deploy needs a tested rollback path, database migrations must be backwards compatible (expand, migrate, contract), and pipelines need OIDC-federated credentials rather than stored cloud keys.

Chapter quiz

3 questions · pass mark 75%
  1. 1. The same build artefact should be promoted across environments because…

  2. 2. Blue-green deployment gives…

  3. 3. Backwards-compatible migrations follow…

Answer every question to submit. Progress for cl-14 is saved in this browser.