Pcornel
Automation · CI/CD

Deployment

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

Back to the Topic

Answer

Deployment applies a selected release or artifact to a target environment through a defined rollout mechanism and must be verified against actual target state and workload behavior.

Remember

  • Deployment command success ≠ deployment healthy; scheduling, rollout completion, readiness, configuration, dependencies and user-facing acceptance remain separate.
  • 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

  • Deployment logs per environment — history
  • Post-deploy health checks — verification
  • Deployment strategy (rolling/blue-green/canary) — safety

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

artefact → deploy → health check → done/rollback

Where it usually breaks

Deployment command success ≠ deployment healthy; scheduling, rollout completion, readiness, configuration, dependencies and user-facing acceptance remain separate.

Commit/input → runner/job → build/test artifact → deployment request → target rollout/reconcile → effective version/config → health/readiness → workload.

Deployment 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=5507

Confirmation

Confirm action

Continue?