CI/CD Pipeline

From code commit to production — every stage, gate, and feedback loop

① CODE git push feature branch Pull Request code review ② BUILD Compile npm build Docker Image docker build ③ TEST Unit Tests jest · pytest Integration e2e · coverage ④ SCAN SAST / DAST Snyk · SonarQube Dependency Audit CVE check ⑤ STAGING Deploy Preview staging.app.com Smoke Tests health checks ⑥ PRODUCTION Blue/Green Deploy zero downtime Monitor + Alert Grafana · PagerDuty BUILD FAIL TEST FAIL ROLLBACK Image Registry ECR · GHCR PULL IMAGE Pipeline flow Failure / rollback Artifact flow

CI — Continuous Integration

Fast Feedback on Every Push

  • Build + test on every commit
  • Blocks merge if tests fail
  • Target: under 5 minutes

CD — Continuous Delivery

Always Deployable

  • Staging always mirrors prod
  • Manual approval gate optional
  • Automated smoke tests

Safety

Fail Fast, Roll Back Fast

  • Blue/green = zero downtime
  • Auto rollback on error spike
  • Feature flags decouple deploy