Skip to content

Instantly share code, notes, and snippets.

@rms1000watt
Last active August 15, 2023 07:27
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rms1000watt/d64ed8051b66286067d28e1a0088f068 to your computer and use it in GitHub Desktop.
Save rms1000watt/d64ed8051b66286067d28e1a0088f068 to your computer and use it in GitHub Desktop.
gcloud install and usage
asdf plugin add gcloud https://github.com/jthegedus/asdf-gcloud
echo "gcloud 410.0.0" >> ~/.tool-versions
asdf install
gcloud auth login
gcloud projects list
gcloud config set project $GCP_PROJECT_ID
# pull logs from cloudbuild
# add grep to this command for specific hash.. then cut -d' ' -f1 for the ID.. maybe can filter directly
gcloud builds list --region us-central1
gcloud builds log cf963a9b-7166-4a5d-95c6-84d5d7b26fda --region us-central1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment