DeploymentGoogle cloudCloud build

Cloud build

Because our entire platform is on Google Cloud, Cloud Build is a natural fit for all our build, test, and deployment needs. It eliminates the added complexity of external CI/CD solutions like GitHub Actions, since everything is managed within a single cloud environment. This approach simplifies permissions, and reduces maintenance overhead, letting us focus on delivering great features instead of juggling infrastructure.

Impelementing a new trigger

  • Create a Trigger In Google Cloud Build, set up a new trigger to watch your repository.
  • Configure cloudbuild.yaml Write your build instructions (e.g., pulling cache, running migrations, pushing images) in a .yaml file, then specify this filename in the trigger’s configuration.

Note: Migration happens during cloud build, in this way it significantly reduces cold start time.

The example of cloud build in the below image: