summaryrefslogtreecommitdiffhomepage
path: root/tools/vm/build.sh
diff options
context:
space:
mode:
authorAdin Scannell <ascannell@google.com>2020-05-14 20:21:03 -0700
committergVisor bot <gvisor-bot@google.com>2020-05-14 20:22:45 -0700
commit4502b73d008e7696adbf035926092590f2077706 (patch)
treebf08665f047d0b1a38fd3702f2f9557f0a6bfdea /tools/vm/build.sh
parentfb7e5f1676ad9e6e7e83312e09fe55f91ade41bc (diff)
Update Kokoro images to include newer gcloud.
PiperOrigin-RevId: 311658774
Diffstat (limited to 'tools/vm/build.sh')
-rwxr-xr-xtools/vm/build.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/vm/build.sh b/tools/vm/build.sh
index 5d3dc0bbf..098258cad 100755
--- a/tools/vm/build.sh
+++ b/tools/vm/build.sh
@@ -64,7 +64,7 @@ function cleanup {
trap cleanup EXIT
# Wait for the instance to become available (up to 5 minutes).
-echo -n "Waiting for ${INSTANCE_NAME}"
+echo -n "Waiting for ${INSTANCE_NAME}" >&2
declare timeout=300
declare success=0
declare internal=""
@@ -81,10 +81,10 @@ while [[ "$(date +%s)" -lt "${end}" ]] && [[ "${success}" -lt 3 ]]; do
done
if [[ "${success}" -eq "0" ]]; then
- echo "connect timed out after ${timeout} seconds."
+ echo "connect timed out after ${timeout} seconds." >&2
exit 1
else
- echo "done."
+ echo "done." >&2
fi
# Run the install scripts provided.