Continuous Deployment
Cheat sheet · https://pcornel.dk/topic.php?topic=5497
Answer
Continuous Deployment automatically promotes every qualifying change through the configured pipeline into the target environment after required gates pass.
Remember
- Automatic deployment ≠ automatic safety; production promotion still needs bounded eligibility, observability, rollback/recovery and independent runtime acceptance.
- 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
- Automatic production deploys — flow
- Progressive delivery (canary/blue-green) — safety
- Automated rollback on failed checks — protection
Commands
git rev-parse HEAD- Read-only/validation observation for exact Git commit identifier of the source tree used for automation/deployment.
Verify in this order
commit → tests → canary → full rollout or rollback
Where it usually breaks
Automatic deployment ≠ automatic safety; production promotion still needs bounded eligibility, observability, rollback/recovery and independent runtime acceptance.
Commit/input → runner/job → build/test artifact → deployment request → target rollout/reconcile → effective version/config → health/readiness → workload.
Continuous Deployment CI/CD proof-boundary map
| Boundary | Healthy evidence | Suspicious evidence |
|---|---|---|
| Trigger / evaluation | Exact commit and evaluated pipeline/inputs are known | Wrong ref, inherited rule or hidden variable changes the run |
| Execution / validation | Expected worker, jobs and tests execute with traceable context | Skips, retries, stale cache or worker drift hides the failure |
| Artifact / promotion | Immutable artifact is linked to release, approval and environment | Rebuild/mutable tag breaks provenance or approval scope |
| Target proof | Rollout plus independent readiness/acceptance confirms the intended release | Pipeline/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=5497