Pcornel
Automation

CI/CD

Cheat sheet · https://pcornel.dk/topic.php?topic=5493

Back to the Topic

Answer

CI/CD connects versioned change to repeatable integration, verification, release and deployment workflows while preserving explicit promotion, approval, artifact and runtime acceptance boundaries.

Remember

  • A green pipeline proves only that its configured jobs satisfied their recorded conditions; it does not prove the change is safe, the artifact is the intended one, the deployment reached every target or the service is healthy.
  • Pipeline status is execution evidence, not independent proof of target service health or business outcome.
  • The exact revision, evaluated pipeline definition, effective inputs and execution worker are part of the evidence context.
  • Preserve artifact identity and target read-back so validation, promotion and runtime acceptance cannot be silently conflated.

First checks

  • Pipeline definition in repo — as code
  • Pipeline success rate and duration — health
  • Required checks on protected branches — gating

Verify in this order

commit → CI (build, test, scan) → artefact → CD (deploy with gates) → verify

Where it usually breaks

A green pipeline proves only that its configured jobs satisfied their recorded conditions; it does not prove the change is safe, the artifact is the intended one, the deployment reached every target or the service is healthy.

Automation/controller success is not target-state proof; target config/state is not effective-runtime proof; effective state is not workload proof.

CI/CD CI/CD proof-boundary map

BoundaryHealthy evidenceSuspicious evidence
Trigger / evaluationExact commit and evaluated pipeline/inputs are knownWrong ref, inherited rule or hidden variable changes the run
Execution / validationExpected worker, jobs and tests execute with traceable contextSkips, retries, stale cache or worker drift hides the failure
Artifact / promotionImmutable artifact is linked to release, approval and environmentRebuild/mutable tag breaks provenance or approval scope
Target proofRollout plus independent readiness/acceptance confirms the intended releasePipeline/API success is treated as runtime health

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=5493

Confirmation

Confirm action

Continue?