Continuous integration with GCP Cloud Build – evaluation

Cloud Build one of the services available on Google Cloud Platform. Evaluation happened in January 2021 and I believe that is still improving. This post is supposed to be part of the bigger series with a unified structure.

GCP Cloud Build main features:

  • Even though Cloud Build labels itself as CI/CD tool it lacks the CD features (e.g. deployment strategies, manual approval stages etc.) – nobody prevents you from developing those
  • Run in GCP or has some support for local execution as well
  • Build using wiring Docker containers together. Executed on single VM, you can upscale VM to high cpu machines up to 32cpu. 

Cloud Build Continous Integration features:

Google Cloud Build Pricing:

Conclusion:

Purely CI system with the capability to build (~ Cloud Build). No triggers for time-based related things. So either Event-based (commit, tag, …) or manual trigger. Probably could be emulated via Cloud Function to trigger to simulate Time Based Trigger. Has the ability to run locally which is nice. Scales up to 32cpu machines. Prices based on build time (clock time). Doesn’t offer Approval stages, security model based on IAM and seems that you cannot grant permission on a particular configuration/build. Doesn’t have a concept of a pipeline – but rather a set of tasks steps(stages). Definition lives in Git – so LTS branches should be buildable. To have full end-2-end deployment, you need a CD system. This system manages just “build artefact”. 

Advertisement

1 thought on “Continuous integration with GCP Cloud Build – evaluation

  1. Pingback: CI/CD tools landscape | Software development

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s