Wilson Mar bio photo

Wilson Mar


Email me Calendar Skype call

LinkedIn Twitter Gitter Instagram Youtube

Github Stackoverflow Pinterest

Build for Kubernetes within GCP

US (English)   Español (Spanish)   Français (French)   Deutsch (German)   Italiano   Português   Estonian   اَلْعَرَبِيَّةُ (Egypt Arabic)   中文 (简体) Chinese (Simplified)   日本語 Japanese   한국어 Korean


Here are my (incomplete) notes on the service introduced in 2018.

NOTE: Content here are my personal opinions, and not intended to represent any employer (past or present). “PROTIP:” here highlight information I haven’t seen elsewhere on the internet because it is hard-won, little-know but significant facts based on my personal research and experience.

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

    PROTIP: Don’t click “Try it now” takes you to login and


    That page is about all Google services.

  2. Click “Documentation”



    Google’s underlying technology is based on its open source project, Tekton, which it has donated to the Continuous Delivery Foundation (CDF).

  3. Building containers


    Firebase support

    Google announced Cloud Build at its Google Next conference July 2018.

    Techcrunch says:

    Cloud Build works across a variety of environments including VMs, serverless, Kubernetes, or Firebase.

    What’s more it supports Docker containers and it gives developers or operations the flexibility to build, test and deploy in an increasingly automated fashion.

    Google will allow you to use triggers to deploy, so that when certain conditions are met, the update will launch automatically. You can identify vulnerabilities in your packages before you deploy and you can build locally and deploy in the cloud if you so choose.


    Since Google Cloud Build is relatively new in comparison with the other public cloud CI offerings, Google is now offering a generous amount of free minutes and a low pay-as-you-go pricing: up to 120 build minutes per day at no cost. Additional build minutes is billed at $0.0034 per minute.


  4. Click “Enable”


  5. Select a Project.
  6. Click “Settings”.
  7. Enable service accounts.

    Install client CLI




    Cloud KMS KeyRing and CryptoKey


    Define Builds


    Create Build Triggers



  8. There is a connector in GitHub Marketplace:


Builds place Docker images into the Google Container Registry, which then natively integrates with Kubernetes.

Google needs to make it easier to pass artifacts from one step to the next to create more tightly integrated build pipelines. Google’s CI system executes each build step in a separate container.

Google needs to improve the granularity of build triggers.