Skip to main content
XenonStack

DevOps

XenonStack Blog GCP DevOps Pipeline: Cloud Build, Deploy and Controls

and | Published | Updated

GCP DevOps Pipeline: Cloud Build, Deploy and Controls
10:26

Key takeaway

  • Build a GCP DevOps pipeline with Cloud Build, Artifact Registry and Cloud Deploy. See what changed, how to govern releases and when not to use each.

What is a GCP DevOps pipeline and how should enterprises build one?

A GCP DevOps pipeline is the automated path a change takes from commit to production on Google Cloud. In current Google Cloud documentation that path is usually Cloud Build for building and testing, Artifact Registry for storing images and packages, and Cloud Deploy for promoting a release through staging and production. Approvals, provenance and rollback sit around those steps, so the pipeline is both a speed tool and a control point.

This guide is for engineering leaders and architects who need to choose the services, set the controls and avoid the retired pieces. It replaces an older view of the topic that mixed pipeline delivery with data processing. For the wider practice, see our guide to DevOps on Google Cloud Platform and the DevOps process and lifecycle.

Which Google Cloud services make up the pipeline?

StageServiceWhat it doesCurrent status
SourceGitHub, Bitbucket or another source hostHolds the code that triggers builds. Cloud Build supports Cloud Source Repositories, GitHub and Bitbucket as sources.Cloud Source Repositories is closed to new customers from 17 June 2024. Google points to Secure Source Manager as the alternative.
Build and testCloud BuildRuns builds from a YAML or JSON config. Each step runs in its own container. Triggers start builds automatically.Current. Google states its features meet SLSA level 3 requirements for artifacts.
StoreArtifact RegistryOne place for packages and Docker images, with regional repositories and access control through IAM.Current. Replaces Container Registry.
ReleaseCloud DeployPromotes a release through a defined sequence of targets, with optional approvals and rollback.Current. Deploys to GKE and Cloud Run.
Data processingDataflowRuns Apache Beam pipelines for batch and stream data. It is not the delivery tool.Current.

Sources: Google Cloud documentation for Cloud Build, Cloud Deploy, Artifact Registry and Cloud Source Repositories, read 12 November 2026.

Two-column diagram mapping GCP pipeline stages (commit, build and test, store, promote) to Cloud Build triggers, provenance, Artifact Registry and Cloud Deploy approvals.

What do continuous integration, delivery and deployment mean in practice?

Continuous integration

Continuous integration builds and tests every change as it is committed. On Google Cloud this is a Cloud Build config that fetches dependencies, runs tests and static analysis, and creates artifacts with tools such as Docker, Maven, Gradle or Bazel. Unit tests check each part of the code and integration tests check how the parts work together. A failing test sends the change back to the developer before anything is released.

Continuous delivery and continuous deployment

Continuous delivery keeps every change in a releasable state and lets a person or a policy decide when it goes live. Continuous deployment goes one step further: every change that passes automated testing is released to production without a manual step. Continuous deployment suits services with strong automated tests and fast rollback. Continuous delivery with an approval gate suits regulated systems. Our guide to DevOps assembly lines and CI pipelines covers pipeline design in more depth.

How does Cloud Deploy move a release through environments?

Cloud Deploy automates delivery to a series of target environments, for example staging and then production. A delivery pipeline is defined in a YAML file that sets the promotion order. A release is created when your CI process calls Cloud Deploy, and a rollout is the deployment of that release to one target. Each promotion creates a new rollout.

You can require approval on any target. Cloud Deploy then publishes a Pub/Sub message that an external system, such as a ticketing tool, can use to start an approval workflow. A rollback creates a new rollout of the last successfully deployed release. Cloud Deploy uses Skaffold to render, deploy and verify, and deploys to Google Kubernetes Engine and Cloud Run.

What has changed in Google Cloud delivery tooling?

ItemWhat changedWhat to do
Container RegistryShut down from 18 March 2025. Writing images to it is unavailable.Move images to Artifact Registry. gcr.io URLs hosted on Artifact Registry are not affected.
Cloud Source RepositoriesNo longer available to new customers from 17 June 2024. Existing users are not affected.For new work, consider Secure Source Manager, which Google describes as a regionally deployed, single tenant, managed source code repository.
DORA metricsDORA now defines five software delivery metrics, moving from MTTR to failed deployment recovery time and adding deployment rework rate.Update dashboards and targets to the five metrics. See dora.dev.

Where does Dataflow fit, and where does it not?

Dataflow is a managed service for batch and stream data processing. It executes Apache Beam pipelines written with the Beam SDKs for Java, Python or Go. The service allocates worker virtual machines for a job and deletes them when the job finishes. It adds or removes workers based on need and uses dynamic work rebalancing to spread work across them. The monitoring interface shows the job graph with progress and execution detail for each stage. Details are in the Dataflow overview.

This is a data pipeline, not a software delivery pipeline. If your team ships Beam code to Dataflow, treat that code like any other service: build it with Cloud Build, store the artifact in Artifact Registry and release it with the same approvals. Our guide to open source DevOps tools compares tools by pipeline stage.

How do you secure and govern the pipeline?

Cloud Build gives each build a new virtual machine that is destroyed afterwards, records build provenance (image digests, source locations, toolchain and build duration) and can integrate with Binary Authorization to block deployment of images that Cloud Build did not produce. Artifact Registry uses IAM for access control and Artifact Analysis for container vulnerability scanning. Approvals in Cloud Deploy add a human gate where a change needs one.

As teams add AI agents that open pull requests, fix failed jobs or request promotions, the question becomes which actions an agent may take and who can prove what it did. ElixirClaw is an agentic OS platform to build, orchestrate and govern AI agents and automation workflows while keeping humans in control. ElixirData Context OS keeps governed context, versioned policy and decision traces in one decision layer above AI agents. For audit evidence, the Audit Agent gathers the reasoning, policy versions and approvals behind decisions made through Context OS; older decisions can be searched but not fully reconstructed. Culture still matters, so see our CALMS framework guide.

When should you not use the native Google Cloud services?

SituationBetter approachReason
Your teams already run CI on another systemKeep that CI and add Cloud Deploy for releaseGoogle documents Cloud Deploy as working with most CI systems.
Builds must reach private networksUse Cloud Build private poolsPrivate pools are dedicated workers with access to private networks.
You only run batch or stream data jobsUse Dataflow and treat its code as a normal serviceDataflow processes data and does not replace the delivery pipeline.
You rely on Cloud Source Repositories and are new to Google CloudChoose another source hostThe service is closed to new customers.

In what order should you adopt it?

  1. Pick one service and one value stream, and record its current lead time and deployment frequency.
  2. Move images from Container Registry to Artifact Registry if you have not already.
  3. Put the build and test steps in a Cloud Build config with a trigger on the main branch.
  4. Define a Cloud Deploy pipeline with staging and production targets, and require approval on production.
  5. Add provenance checks and Binary Authorization where the risk justifies them.
  6. Measure the five DORA metrics, then widen to more services. Our enterprise DevOps operating model covers the rollout across teams.

To map one release decision your agents should make, and the policy and approvals it depends on, book a Context Workshop. See what happens in the workshop.

Frequently asked questions

What is a GCP DevOps pipeline?

It is the automated path a change takes from commit to production on Google Cloud. Typically Cloud Build builds and tests the change, Artifact Registry stores the image, and Cloud Deploy promotes it through environments such as staging and production.

What is the difference between continuous delivery and continuous deployment?

With continuous delivery, every change is kept in a releasable state and a person or policy decides when it goes live. With continuous deployment, every change that passes automated testing is released to production automatically.

Is Dataflow part of a GCP DevOps pipeline?

Not as the delivery tool. Dataflow is a managed service that runs Apache Beam pipelines for batch and stream data processing. A delivery pipeline may deploy Dataflow jobs, but Cloud Build and Cloud Deploy handle build and release.

Can we still use Container Registry?

No. Google states that from 18 March 2025 Container Registry is shut down and writing images to it is unavailable. Artifact Registry is the recommended replacement, and gcr.io URLs hosted on Artifact Registry are not affected.

Do we have to use Cloud Build with Cloud Deploy?

No. Google documents Cloud Deploy as working with most CI systems, source repositories and artifact repositories. Its own example flow uses Cloud Build for CI and Artifact Registry for container images.

Which DORA metrics should we track on the pipeline?

DORA now defines five: change lead time, deployment frequency, failed deployment recovery time, change fail rate and deployment rework rate. The first three describe throughput and the last two describe instability.

Follow XenonStack on LinkedIn: XenonStack on LinkedIn for new guides on agentic AI, data and platform engineering.

Table of Contents

navdeep-singh-gill

Navdeep Singh Gill

Global CEO and Founder of XenonStack

LinkedIn profile

Navdeep Singh Gill is serving as Chief Executive Officer and Product Architect at XenonStack. He holds expertise in building SaaS Platform for Decentralised Big Data management and Governance, AI Marketplace for Operationalising and Scaling. His incredible experience in AI Technologies and Big Data Engineering thrills him to write about different use cases and its approach to solutions.

Get the latest articles in your inbox

Subscribe Now

Interested in solving your challenges with the XenonStack team?
Get Started

Tell us about you and your priorities so we can prepare the right conversation. It takes about 2 minutes.

Please Select your Industry
Banking
Fintech
Payment Providers
Wealth Management
Discrete Manufacturing
Semiconductor
Machinery Manufacturing / Automation
Appliances / Electrical / Electronics
Elevator Manufacturing
Defense & Space Manufacturing
Computers & Electronics / Industrial Machinery
Motor Vehicle Manufacturing
Food and Beverages
Distillery & Wines
Beverages
Shipping
Logistics
Mobility (EV / Public Transport)
Energy & Utilities
Hospitality
Digital Gaming Platforms
SportsTech with AI
Public Safety - Explosives
Public Safety - Firefighting
Public Safety - Surveillance
Public Safety - Others
Media Platforms
City Operations
Airlines & Aviation
Defense Warfare & Drones
Robotics Engineering
Drones Manufacturing
AI Labs for Colleges
AI MSP / Quantum / AGI Institutes
Retail Apparel and Fashion

Continue