CI/CD pipeline diagram template
From commit to production with a test gate, a staging deploy and a manual approval.
About this template
A pipeline diagram earns its place when someone asks why a change took forty minutes to ship or where a broken build would have been caught. This template lays the stages out in order and makes the two gates explicit: the automated test gate and the human approval before production.
Most teams have a pipeline close to this one. Delete the stages you do not have and add the ones you do, such as security scanning or database migrations.
What is in the diagram
- Build and unit tests
- Fast feedback on every commit. A failure goes straight back to the author.
- Image and registry
- The artifact that is built once and promoted through every environment.
- Staging and smoke tests
- A production-like deploy that proves the artifact starts and serves traffic.
- Approval gate
- A deliberate pause. Remove it if you practise continuous deployment.
More software architecture templates
Three-tier web app
Browser, load-balanced web servers, an application API, a cache and a replicated database.
Microservices
Clients, an API gateway, four services with their own data, and an event bus between them.
Event-driven architecture
Producers, a broker topic, independent consumers and a dead-letter queue.