A git extension for seeing your Cloud Build deployment

Learn more: https://cloud.google.com/blog/topics/developers-practitioners/push-your-code-and-see-your-builds-happening-your-terminal-git-deploy

Requirements

  • Python 3.7+ (check with python3 --version)
  • git 1.8+ (check with git --version)
  • A GitHub repo connected to Cloud Build with source-based deployments

Installation

  • Clone this repo
  • Set the execution bit
  • Copy git-deploy into a place on your PATH.

    # example location
    cp git-deploy /usr/local/bin
    
  • Confirm installation by running the script:

    cd ~ # a non-git repo
    git deploy