CI/CD Pipeline
Cloud Build and Artifact Registry. The path from commit to running service.
- Format.puml
- Length23 lines
- LibraryGoogle Cloud icons
The source
23 lines of PlantUML, and pulls in Google Cloud icons. Copy it, or open the template inside Gnomon and render it as it is.
@startuml
!include <gcp/GCPCommon>
!include <gcp/cloud_build>
!include <gcp/artifact_registry>
!include <gcp/cloud_run>
!include <gcp/secret_manager>
!include <gcp/cloud_logging>
title GCP — CI/CD pipeline
left to right direction
GCP_CLOUD_BUILD(build, "Cloud Build", "on push")
GCP_ARTIFACT_REGISTRY(ar, "Artifact Registry")
GCP_CLOUD_RUN(run, "Cloud Run", "deploy target")
GCP_SECRET_MANAGER(sm, "Secret Manager")
GCP_CLOUD_LOGGING(log, "Cloud Logging")
build --> ar
ar --> run
sm ..> run
run --> log
@endumlRender this offline
This template ships in Gnomon and renders on your machine, with no account and nothing sent to a server. The browser editor is free and needs no install.
Others in Google Cloud architecture diagrams
- Simple ArchitectureLoad balancer, compute, database. The shape most projects start as.
- VPC NetworkingDNS, CDN and the network edge. Draw this when latency or egress is the question.
- Serverless ArchitectureAPI Gateway and Cloud Run. Scales to zero, which is the whole argument.
- Microservices (GKE)GKE with a load balancer in front. The heavier option, and sometimes the right one.
- Data PlatformPub/Sub into Dataflow. The pipeline shape, where ordering and replay matter.