fix(ci): use gcloud beta to stream logs in watch-build.sh

This commit is contained in:
Chris Christiansen 2026-06-10 14:32:07 +00:00
parent e9ada68efe
commit 6eb05b3dc7

View File

@ -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)