CURRICULUM PREVIEWRevision 1 · Open for reviewReview the full course
CONNECTING THE PIECES8 min read

CI/CD as a chain of evidence

Promote the artifact you tested.

Before you begindrift-idempotency

The idea

Build one immutable artifact, run rule and integration tests, scan it, and promote that same artifact through environments. Record the source revision, dependencies, migration version, and configuration contract. Rebuilding separately for production introduces an untested difference.

Follow the flow

Make it concrete

This excerpt isolates the concept. Connect it to the booking API as you work through the exercise.

Focused example
text
Source revision
  → tests + dependency checks
  → reproducible build
  → signed or checksummed artifact
  → staging smoke checks
  → production deployment + verification

Decisions that matter

  • Fast feedback comes from small early checks and meaningful later boundary tests.
  • A green pipeline proves its checks, not every production assumption.
  • Deployment identity should have only the permissions needed to deploy.

Your turn

A staging image passed tests, but production rebuilds from a moving branch. What evidence is missing?

Reveal a worked answer

There is no proof production runs the tested artifact. Promote the same digest, record the deployment revision, and verify external behavior. Keep secrets injected at runtime rather than baked into the artifact.

Keep exploring

One more piece connected.

Mark this lesson complete when you can explain the idea.