DevOps and CI/CD

Installation
SKILL.md

DevOps and CI/CD

Workflow

  1. Define the release unit and the rollback story first. If rollback takes >5 minutes or is manual, fix that before adding automation.
  2. Pipeline stages: lint/typecheck → unit → build (reproducible) → integration/contract → security scan → deploy to staging → smoke → progressive deploy → verify. Parallelize what is independent; fail fast.
  3. Target durations: PR feedback < 10 min, full pipeline < 25 min. Cache dependencies and build layers aggressively.
  4. Environment parity: same image, same config mechanism, differences only through env vars and secrets.

Pipeline rules

  • Deterministic builds: lockfiles committed, pinned base image digests, no latest tags, build metadata (commit SHA) baked in and exposed via a /version endpoint.
  • Artifacts, not rebuilds: build once, promote the same artifact through environments.
  • Secrets: from a secret manager at deploy time, never in the image or repo; rotate; scan history.
  • Progressive delivery: canary or blue/green with automated gates on error rate, latency p95, and saturation. Auto-rollback on gate breach.
  • Migrations decoupled from deploys and backward compatible (expand/contract).
  • Branch protection: required checks, linear history or squash merge, signed commits where compliance demands.

Containers

Installs
–
First Seen
–