From 4f715da661aa7a4eaf1eb002440c27dc8e9a55d2 Mon Sep 17 00:00:00 2001 From: Franziska Hinkelmann Date: Mon, 18 Jun 2018 17:50:01 -0400 Subject: [PATCH 1/2] Export Storage Bucket variable This is needed for the appengine/storage tests. --- .kokoro/build-with-appengine.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/.kokoro/build-with-appengine.sh b/.kokoro/build-with-appengine.sh index 43f84a7a6b..671a8cb029 100755 --- a/.kokoro/build-with-appengine.sh +++ b/.kokoro/build-with-appengine.sh @@ -30,6 +30,7 @@ VERSION=$(echo $PROJECT | sed 's_appengine/__') VERSION=$(echo $VERSION | sed 's_/flexible\|standard__') export GAE_VERSION=$VERSION +export GCLOUD_STORAGE_BUCKET=docs-samples-${VERSION} # Register post-test cleanup function cleanup { From 343fe4eabab379d46cac8aa00eee35f0db0af070 Mon Sep 17 00:00:00 2001 From: Franziska Hinkelmann Date: Mon, 18 Jun 2018 17:50:41 -0400 Subject: [PATCH 2/2] Rename storage bucket. uuid is not available on CI system. `bash: line 1: uuid: command not found` Use a different name instead. --- circle.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/circle.yml b/circle.yml index d7c6d29f1c..e5147bc8c0 100644 --- a/circle.yml +++ b/circle.yml @@ -106,8 +106,8 @@ deployment: - node scripts/build "appengine/metadata/flexible" - node scripts/build "appengine/metadata/standard" - node scripts/build "appengine/static-files" - - GCLOUD_STORAGE_BUCKET=docs-samples-gae-test-$(uuid); node scripts/build "appengine/storage/flexible" - - GCLOUD_STORAGE_BUCKET=docs-samples-gae-test-$(uuid); node scripts/build "appengine/storage/standard" + - GCLOUD_STORAGE_BUCKET=docs-samples-storage-flexible; node scripts/build "appengine/storage/flexible" + - GCLOUD_STORAGE_BUCKET=docs-samples-storage-standard; node scripts/build "appengine/storage/standard" - node scripts/build "auth" - node scripts/build "appengine/pubsub" - export GCP_QUEUE=nodejs-test-queue-do-not-delete; node scripts/build "cloudtasks"