diff --git a/images/bootstrap/runner.sh b/images/bootstrap/runner.sh index ec8b2e41d0..91abcd644a 100755 --- a/images/bootstrap/runner.sh +++ b/images/bootstrap/runner.sh @@ -118,6 +118,8 @@ set +o errexit # add $GOPATH/bin to $PATH export PATH="${GOPATH}/bin:${PATH}" mkdir -p "${GOPATH}/bin" +# Add gcloud utilities to $PATH +source /google-cloud-sdk/path.bash.inc # Authenticate gcloud, allow failures if [[ -n "${GOOGLE_APPLICATION_CREDENTIALS:-}" ]]; then gcloud auth activate-service-account --key-file="${GOOGLE_APPLICATION_CREDENTIALS}" || true