Skip to content

Commit 0578d56

Browse files
committed
chore: add gcloud sdk to path
1 parent 2df5e52 commit 0578d56

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.ci/cloudbuild.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ steps:
1919
- "IP_TYPE=${_IP_TYPE}"
2020
- "GOOGLE_CLOUD_PROJECT=${PROJECT_ID}"
2121
- "TMPDIR=/tmp"
22+
- "CLOUDSDK_CORE_DISABLE_PROMPTS=1"
2223
secretEnv:
2324
- "MYSQL_CONNECTION_NAME"
2425
- "MYSQL_USER"
@@ -43,7 +44,12 @@ steps:
4344
args:
4445
- -c
4546
- |
47+
curl -sSL https://sdk.cloud.google.com | bash -s -- --quiet
48+
export PATH=$PATH:/root/google-cloud-sdk/bin
49+
echo "gcloud version:"
50+
gcloud version || echo "gcloud command not found or failed"
4651
go test -race -v ./tests/...
52+
4753
substitutions:
4854
_VERSION: ${_VERSION}
4955
_IP_TYPE: ${_IP_TYPE}

0 commit comments

Comments
 (0)