5

Triggering Builds

One of the key parts of automation is establishing how a pipeline is to be initiated. This is configured by setting up a trigger for each pipeline. In Chapter 3, Getting Started – What Build Information Is Available to Me?, we covered how to initiate a build manually with the CLI using gcloud. Cloud Build offers a variety of ways to trigger builds, whether integrated with services offered by Google Cloud Platform (GCP) or external mechanisms such as a webhook. In this chapter, we will see the various trigger options offered by Cloud Build as we traverse through the following topics:

  • The anatomy of a trigger
  • Integrations with source code management (SCM) systems
  • Defining your own triggers

Technical requirements

  • Software ...

Get Cloud Native Automation with Google Cloud Build now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.