Skip to content

Commit 62d241a

Browse files
authored
Export variable for storage bucket (#668)
* Export Storage Bucket variable This is needed for the appengine/storage tests. * Rename storage bucket. uuid is not available on CI system. `bash: line 1: uuid: command not found` Use a different name instead.
1 parent 85e7e39 commit 62d241a

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.kokoro/build-with-appengine.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ VERSION=$(echo $PROJECT | sed 's_appengine/__')
3030
VERSION=$(echo $VERSION | sed 's_/flexible\|/standard__')
3131

3232
export GAE_VERSION=$VERSION
33+
export GCLOUD_STORAGE_BUCKET=docs-samples-${VERSION}
3334

3435
# Register post-test cleanup
3536
function cleanup {

circle.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,8 @@ deployment:
106106
- node scripts/build "appengine/metadata/flexible"
107107
- node scripts/build "appengine/metadata/standard"
108108
- node scripts/build "appengine/static-files"
109-
- GCLOUD_STORAGE_BUCKET=docs-samples-gae-test-$(uuid); node scripts/build "appengine/storage/flexible"
110-
- GCLOUD_STORAGE_BUCKET=docs-samples-gae-test-$(uuid); node scripts/build "appengine/storage/standard"
109+
- GCLOUD_STORAGE_BUCKET=docs-samples-storage-flexible; node scripts/build "appengine/storage/flexible"
110+
- GCLOUD_STORAGE_BUCKET=docs-samples-storage-standard; node scripts/build "appengine/storage/standard"
111111
- node scripts/build "auth"
112112
- node scripts/build "appengine/pubsub"
113113
- export GCP_QUEUE=nodejs-test-queue-do-not-delete; node scripts/build "cloudtasks"

0 commit comments

Comments
 (0)