Skip to content

Instantly share code, notes, and snippets.

@soupdiver
Forked from kimh/circle.yml
Created March 30, 2016 15:30
Show Gist options
  • Save soupdiver/b712cda7a6eb82aac193618041edd187 to your computer and use it in GitHub Desktop.
Save soupdiver/b712cda7a6eb82aac193618041edd187 to your computer and use it in GitHub Desktop.
Installing gcloud
machine:
pre:
- sudo bash -c 'curl "https://sdk.cloud.google.com" | CLOUDSDK_CORE_DISABLE_PROMPTS=1 CLOUDSDK_INSTALL_DIR=/opt bash'
- sudo chown -R "ubuntu:ubuntu" "/opt/google-cloud-sdk"
- sudo chown -R "ubuntu:ubuntu" "/home/ubuntu/.config/gcloud"
- source /opt/google-cloud-sdk/path.bash.inc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment