CI/CD Pipeline Architecture
Continuous integration and delivery pipeline with automated builds, tests, container registry, and Kubernetes deployment.
Services
- GitHub (external) — Hosts source code and triggers pipelines — GitHub, Git
- Build Service (service) — Compiles code and produces build artifacts — GitHub Actions, Docker
- Test Runner (service) — Runs unit, integration, and e2e tests — Jest, Playwright
- Container Registry (database) — Stores Docker images and build artifacts — Docker Registry, ECR
- K8s Cluster (service) — Orchestrates container deployment and scaling — Kubernetes, Helm
- Prometheus (external) — Collects and stores deployment metrics — Prometheus, Grafana
- Alert Manager (service) — Routes alerts based on severity and routing rules — Alertmanager, PagerDuty
Connections
- GitHub → Build Service (async_event)
- Build Service → Test Runner (sync_http)
- Build Service → Container Registry (sync_http)
- Container Registry → K8s Cluster (sync_http)
- K8s Cluster → Prometheus (sync_http)
- Prometheus → Alert Manager (async_event)