Skip to content
D2 templates

CI/CD pipeline

PR → tests → build → staging → manual approve → prod.

Template previewD2
Rendering…

Make it your own.

dev -> github: pushes PR
github -> ci: webhook

ci: {
  lint -> tests
  tests -> build
  build -> docker
}

ci.docker -> registry: push
registry -> staging: pull & deploy
staging -> approve: smoke OK

approve -> prod: blue/green
prod -> monitor

monitor.shape: page