fix(ci): use gcloud beta to stream logs in watch-build.sh
This commit is contained in:
parent
e9ada68efe
commit
6eb05b3dc7
|
|
@ -52,7 +52,7 @@ echo -e "--- Streaming logs ---
|
||||||
"
|
"
|
||||||
|
|
||||||
START_TIME=$(date +%s)
|
START_TIME=$(date +%s)
|
||||||
gcloud builds log --stream "$BUILD_ID" --project="$PROJECT_ID" --region="$REGION"
|
gcloud beta builds log --stream "$BUILD_ID" --project="$PROJECT_ID" --region="$REGION"
|
||||||
|
|
||||||
FINAL_STATUS=$(gcloud builds describe "$BUILD_ID" --project="$PROJECT_ID" --region="$REGION" --format="value(status)")
|
FINAL_STATUS=$(gcloud builds describe "$BUILD_ID" --project="$PROJECT_ID" --region="$REGION" --format="value(status)")
|
||||||
END_TIME=$(date +%s)
|
END_TIME=$(date +%s)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user