Chapter Nine
Developer Tools & CI/CD
Three services that together form the native CI/CD pipeline on Google Cloud — store artifacts, build them, deliver them through environments to production.
These three services chain in a single line. Cloud Build compiles your code into an artifact. Artifact Registry stores that artifact. Cloud Deploy promotes the artifact through environments — dev to staging to production — with approval gates, canaries, and rollbacks. Together they replace a stack that used to require Jenkins on a VM, a separate artifact repository, and hand-rolled promotion scripts.
The chapter's central decision is not which of the three to use — you use all three, or you opt out of the GCP-native CI/CD path entirely. The real choice is GCP-native (Cloud Build plus Artifact Registry plus Cloud Deploy) versus external CI (GitHub Actions, GitLab CI, CircleCI) pushing to Artifact Registry and triggering Cloud Deploy. Both work; the tradeoff is integration depth versus portability.