Last active
August 15, 2023 07:27
-
-
Save rms1000watt/d64ed8051b66286067d28e1a0088f068 to your computer and use it in GitHub Desktop.
gcloud install and usage
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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