Cloud Build - bobbae/gcp GitHub Wiki

Cloud Build is a service that executes your builds on Google Cloud Platform's infrastructure.

Cloud Code

Using Cloud Code with Kubernetes.

https://www.youtube.com/watch?v=KNd0mTxcQ_M

Cloud Build

Cloud Build is a service that executes your builds on Google Cloud Platform infrastructure. Cloud Build can import source code from Google Cloud Storage, Cloud Source Repositories, GitHub, or Bitbucket, execute a build to your specifications, and produce artifacts such as Docker containers or Java archives.

Overview

https://cloud.google.com/build/docs/overview

https://www.youtube.com/watch?v=w7dMHiEyGAs

Cloud Build executes your build as a series of build steps, where each build step is run in a Docker container. A build step can do anything that can be done from a container irrespective of the environment. To perform your tasks, you can either use the supported build steps provided by Cloud Build or write your own build steps.

https://cloud.google.com/cloud-build/docs

Starting a build from command line and API

https://cloud.google.com/build/docs/running-builds/start-build-command-line-api

Creating and managing build triggers

https://cloud.google.com/build/docs/automating-builds/create-manage-triggers#gcloud_2

Configuring the order of build steps

https://cloud.google.com/build/docs/configuring-builds/configure-build-step-order

Speeding up builds

https://cloud.google.com/build/docs/speeding-up-builds

Audit logging

https://cloud.google.com/build/docs/securing-builds/audit-logs

Deploying to GKE

https://cloud.google.com/build/docs/deploying-builds/deploy-gke

Git deploy

https://github.com/glasnt/git-deploy

Amd64, Arm64 or Armv7 using Cloud Build

https://medium.com/shade-robotics/docker-for-amd64-arm64-or-armv7-using-cloud-build-55c092bc7a38

Container Registry

Google Container Registry is a private container image registry that runs on Google Cloud infrastructure.

Examples

Continuous deployment with Cloud Build and GitHub trigger

https://medium.com/@konstantin.iakovlev/a-hands-on-tutorial-to-continuous-deployment-with-cloud-build-on-google-cloud-8ae2701f12c6

Docker-slim with Cloud Build

https://martonkodok.medium.com/integrating-dockerslim-container-minify-step-on-cloud-build-64da29fd58d1

Cloud Build Notifications in Google Chat

https://devopsquare.com/cloud-build-notifications-in-google-chat-317d277c5d4a

Cloud Build Email

https://medium.com/datamindedbe/sending-mail-from-google-cloud-build-8b15da779c8f

Integrating Gitlab repository with Cloud Build triggers via Webhook

https://medium.com/google-cloud/approach-1-integrating-gitlab-repository-with-cloud-build-triggers-via-webhook-and-creating-ci-cd-2f9d3327936b