Part 11: DevOps Tooling on GCP: Source Repos, Cloud Build, and Deployment Manager

AuthorEmmanuel Secretaria

Published Aug 18, 2025

Inventory core DevOps services and understand how they shape GCP delivery pipelines.

Share

Scope inspiration:

gcp_info_tools.sh.

This series follows the repo’s GCP inventory flow so every step builds a repeatable, audit-friendly picture of your environment. Part 11 maps the delivery tooling so you know where code, builds, and infrastructure automation live.


What this script does (walkthrough)

The tools inventory is a focused sweep of delivery-related services.

  1. List Cloud Source Repositories when the API is enabled.
  2. List Cloud Build jobs to surface build history.
  3. List Container Registry images across
    gcr.io
    ,
    us.gcr.io
    ,
    eu.gcr.io
    , and
    asia.gcr.io
    for the active project.
  4. List Deployment Manager deployments for infrastructure-as-code footprints.

Operational caveats and gotchas

  • Each service is guarded by API enablement checks, so missing APIs lead to explicit skip messages rather than failures.
  • Container Registry listing requires the active project context, so ensure Part 1 is complete before running this inventory.
  • Cloud Build and Deployment Manager listings are project-scoped, not org-scoped, so run per project if you manage multiple environments.

Example command usage

# DevOps tooling inventory
gcp/gcp_info_tools.sh
# Target a specific project
CLOUDSDK_CORE_PROJECT=my-project-id gcp/gcp_info_tools.sh