From bcfa3e7eab6c5d9c8e8803ae6020812f3856fc3c Mon Sep 17 00:00:00 2001 From: Ace Nassri Date: Mon, 15 Oct 2018 11:39:25 -0700 Subject: [PATCH] Fix Node Kokoro tests (#768) * Small change to trigger Kokoro * Move configs a directory down + remove type entry * Use user images * Flatten build files * Remove cloud tasks configs * Add missing config to node6/node8 * Update datastore deps * Update pub/sub deps --- .kokoro/appengine/analytics.cfg | 13 ---------- .kokoro/appengine/building-an-app-build.cfg | 13 ---------- .kokoro/appengine/building-an-app-update.cfg | 13 ---------- .kokoro/appengine/cloudsql.cfg | 13 ---------- .kokoro/appengine/cloudsql_postgresql.cfg | 13 ---------- .kokoro/appengine/datastore.cfg | 13 ---------- .kokoro/appengine/endpoints.cfg | 13 ---------- .kokoro/appengine/errorreporting.cfg | 13 ---------- .kokoro/appengine/grunt.cfg | 13 ---------- .kokoro/appengine/headless-chrome.cfg | 13 ---------- .kokoro/appengine/hello-world-flexible.cfg | 13 ---------- .kokoro/appengine/hello-world-standard.cfg | 13 ---------- .kokoro/appengine/loopback.cfg | 13 ---------- .kokoro/appengine/mailjet.cfg | 13 ---------- .kokoro/appengine/memcached.cfg | 13 ---------- .kokoro/appengine/metadata-flexible.cfg | 13 ---------- .kokoro/appengine/metadata-standard.cfg | 13 ---------- .kokoro/appengine/mongodb.cfg | 13 ---------- .kokoro/appengine/node10/analytics.cfg | 12 ++++++++- .../node10/building-an-app-build.cfg | 12 ++++++++- .../node10/building-an-app-update.cfg | 12 ++++++++- .kokoro/appengine/node10/cloudsql.cfg | 12 ++++++++- .../appengine/node10/cloudsql_postgresql.cfg | 12 ++++++++- .kokoro/appengine/node10/cloudtasks.cfg | 3 --- .kokoro/appengine/node10/common.cfg | 19 +++++++++++--- .kokoro/appengine/node10/datastore.cfg | 12 ++++++++- .kokoro/appengine/node10/endpoints.cfg | 12 ++++++++- .kokoro/appengine/node10/errorreporting.cfg | 12 ++++++++- .kokoro/appengine/node10/grunt.cfg | 12 ++++++++- .kokoro/appengine/node10/headless-chrome.cfg | 12 ++++++++- .../appengine/node10/hello-world-flexible.cfg | 12 ++++++++- .../appengine/node10/hello-world-standard.cfg | 12 ++++++++- .kokoro/appengine/node10/loopback.cfg | 12 ++++++++- .kokoro/appengine/node10/mailjet.cfg | 12 ++++++++- .kokoro/appengine/node10/memcached.cfg | 12 ++++++++- .../appengine/node10/metadata-flexible.cfg | 12 ++++++++- .../appengine/node10/metadata-standard.cfg | 12 ++++++++- .kokoro/appengine/node10/mongodb.cfg | 12 ++++++++- .kokoro/appengine/node10/parse-server.cfg | 12 ++++++++- .kokoro/appengine/node10/pubsub.cfg | 24 +++++++++++++++++- .kokoro/appengine/node10/redis.cfg | 12 ++++++++- .kokoro/appengine/node10/sendgrid.cfg | 12 ++++++++- .kokoro/appengine/node10/static-files.cfg | 12 ++++++++- .kokoro/appengine/node10/storage-flexible.cfg | 12 ++++++++- .kokoro/appengine/node10/storage-standard.cfg | 12 ++++++++- .kokoro/appengine/node10/twilio.cfg | 12 ++++++++- .kokoro/appengine/node10/typescript.cfg | 16 +++++++++--- .kokoro/appengine/node10/uglifyjs.cfg | 16 +++++++++--- .kokoro/appengine/node6/analytics.cfg | 12 ++++++++- .../appengine/node6/building-an-app-build.cfg | 12 ++++++++- .../node6/building-an-app-update.cfg | 12 ++++++++- .kokoro/appengine/node6/cloudsql.cfg | 12 ++++++++- .../appengine/node6/cloudsql_postgresql.cfg | 12 ++++++++- .kokoro/appengine/node6/cloudtasks.cfg | 3 --- .kokoro/appengine/node6/common.cfg | 19 +++++++++++--- .kokoro/appengine/node6/datastore.cfg | 12 ++++++++- .kokoro/appengine/node6/endpoints.cfg | 12 ++++++++- .kokoro/appengine/node6/errorreporting.cfg | 12 ++++++++- .kokoro/appengine/node6/grunt.cfg | 12 ++++++++- .kokoro/appengine/node6/headless-chrome.cfg | 12 ++++++++- .../appengine/node6/hello-world-flexible.cfg | 12 ++++++++- .../appengine/node6/hello-world-standard.cfg | 12 ++++++++- .kokoro/appengine/node6/loopback.cfg | 12 ++++++++- .kokoro/appengine/node6/mailjet.cfg | 12 ++++++++- .kokoro/appengine/node6/memcached.cfg | 12 ++++++++- .kokoro/appengine/node6/metadata-flexible.cfg | 12 ++++++++- .kokoro/appengine/node6/metadata-standard.cfg | 12 ++++++++- .kokoro/appengine/node6/mongodb.cfg | 12 ++++++++- .kokoro/appengine/node6/parse-server.cfg | 12 ++++++++- .kokoro/appengine/node6/pubsub.cfg | 24 +++++++++++++++++- .kokoro/appengine/node6/redis.cfg | 12 ++++++++- .kokoro/appengine/node6/sendgrid.cfg | 12 ++++++++- .kokoro/appengine/node6/static-files.cfg | 12 ++++++++- .kokoro/appengine/node6/storage-flexible.cfg | 12 ++++++++- .kokoro/appengine/node6/storage-standard.cfg | 12 ++++++++- .kokoro/appengine/node6/twilio.cfg | 12 ++++++++- .kokoro/appengine/node6/typescript.cfg | 16 +++++++++--- .kokoro/appengine/node6/uglifyjs.cfg | 16 +++++++++--- .kokoro/appengine/node8/analytics.cfg | 12 ++++++++- .../appengine/node8/building-an-app-build.cfg | 12 ++++++++- .../node8/building-an-app-update.cfg | 12 ++++++++- .kokoro/appengine/node8/cloudsql.cfg | 12 ++++++++- .../appengine/node8/cloudsql_postgresql.cfg | 12 ++++++++- .kokoro/appengine/node8/cloudtasks.cfg | 3 --- .kokoro/appengine/node8/common.cfg | 19 +++++++++++--- .kokoro/appengine/node8/datastore.cfg | 12 ++++++++- .kokoro/appengine/node8/endpoints.cfg | 12 ++++++++- .kokoro/appengine/node8/errorreporting.cfg | 12 ++++++++- .kokoro/appengine/node8/grunt.cfg | 12 ++++++++- .kokoro/appengine/node8/headless-chrome.cfg | 12 ++++++++- .../appengine/node8/hello-world-flexible.cfg | 12 ++++++++- .../appengine/node8/hello-world-standard.cfg | 12 ++++++++- .kokoro/appengine/node8/loopback.cfg | 12 ++++++++- .kokoro/appengine/node8/mailjet.cfg | 12 ++++++++- .kokoro/appengine/node8/memcached.cfg | 12 ++++++++- .kokoro/appengine/node8/metadata-flexible.cfg | 12 ++++++++- .kokoro/appengine/node8/metadata-standard.cfg | 12 ++++++++- .kokoro/appengine/node8/mongodb.cfg | 12 ++++++++- .kokoro/appengine/node8/parse-server.cfg | 12 ++++++++- .kokoro/appengine/node8/pubsub.cfg | 24 +++++++++++++++++- .kokoro/appengine/node8/redis.cfg | 12 ++++++++- .kokoro/appengine/node8/sendgrid.cfg | 12 ++++++++- .kokoro/appengine/node8/static-files.cfg | 12 ++++++++- .kokoro/appengine/node8/storage-flexible.cfg | 12 ++++++++- .kokoro/appengine/node8/storage-standard.cfg | 12 ++++++++- .kokoro/appengine/node8/twilio.cfg | 12 ++++++++- .kokoro/appengine/node8/typescript.cfg | 16 +++++++++--- .kokoro/appengine/node8/uglifyjs.cfg | 16 +++++++++--- .kokoro/appengine/parse-server.cfg | 13 ---------- .kokoro/appengine/pubsub.cfg | 25 ------------------- .kokoro/appengine/redis.cfg | 13 ---------- .kokoro/appengine/sendgrid.cfg | 13 ---------- .kokoro/appengine/static-files.cfg | 13 ---------- .kokoro/appengine/storage-flexible.cfg | 13 ---------- .kokoro/appengine/storage-standard.cfg | 13 ---------- .kokoro/appengine/twilio.cfg | 13 ---------- .kokoro/appengine/typescript.cfg | 13 ---------- .kokoro/appengine/uglifyjs.cfg | 13 ---------- appengine/analytics/app.js | 2 +- appengine/datastore/package.json | 6 ++--- appengine/pubsub/app.js | 2 +- appengine/pubsub/package.json | 8 +++--- 122 files changed, 1029 insertions(+), 499 deletions(-) delete mode 100644 .kokoro/appengine/analytics.cfg delete mode 100644 .kokoro/appengine/building-an-app-build.cfg delete mode 100644 .kokoro/appengine/building-an-app-update.cfg delete mode 100644 .kokoro/appengine/cloudsql.cfg delete mode 100644 .kokoro/appengine/cloudsql_postgresql.cfg delete mode 100644 .kokoro/appengine/datastore.cfg delete mode 100644 .kokoro/appengine/endpoints.cfg delete mode 100644 .kokoro/appengine/errorreporting.cfg delete mode 100644 .kokoro/appengine/grunt.cfg delete mode 100644 .kokoro/appengine/headless-chrome.cfg delete mode 100644 .kokoro/appengine/hello-world-flexible.cfg delete mode 100644 .kokoro/appengine/hello-world-standard.cfg delete mode 100644 .kokoro/appengine/loopback.cfg delete mode 100644 .kokoro/appengine/mailjet.cfg delete mode 100644 .kokoro/appengine/memcached.cfg delete mode 100644 .kokoro/appengine/metadata-flexible.cfg delete mode 100644 .kokoro/appengine/metadata-standard.cfg delete mode 100644 .kokoro/appengine/mongodb.cfg delete mode 100644 .kokoro/appengine/node10/cloudtasks.cfg delete mode 100644 .kokoro/appengine/node6/cloudtasks.cfg delete mode 100644 .kokoro/appengine/node8/cloudtasks.cfg delete mode 100644 .kokoro/appengine/parse-server.cfg delete mode 100644 .kokoro/appengine/pubsub.cfg delete mode 100644 .kokoro/appengine/redis.cfg delete mode 100644 .kokoro/appengine/sendgrid.cfg delete mode 100644 .kokoro/appengine/static-files.cfg delete mode 100644 .kokoro/appengine/storage-flexible.cfg delete mode 100644 .kokoro/appengine/storage-standard.cfg delete mode 100644 .kokoro/appengine/twilio.cfg delete mode 100644 .kokoro/appengine/typescript.cfg delete mode 100644 .kokoro/appengine/uglifyjs.cfg diff --git a/.kokoro/appengine/analytics.cfg b/.kokoro/appengine/analytics.cfg deleted file mode 100644 index ff5c9e8757..0000000000 --- a/.kokoro/appengine/analytics.cfg +++ /dev/null @@ -1,13 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Set the folder in which the tests are run -env_vars: { - key: "PROJECT" - value: "appengine/analytics" -} - -# Tell the trampoline which build file to use. -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/nodejs-docs-samples/.kokoro/build.sh" -} diff --git a/.kokoro/appengine/building-an-app-build.cfg b/.kokoro/appengine/building-an-app-build.cfg deleted file mode 100644 index 2b8d364a0d..0000000000 --- a/.kokoro/appengine/building-an-app-build.cfg +++ /dev/null @@ -1,13 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Set the folder in which the tests are run -env_vars: { - key: "PROJECT" - value: "appengine/building-an-app/build" -} - -# Tell the trampoline which build file to use. -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/nodejs-docs-samples/.kokoro/build.sh" -} diff --git a/.kokoro/appengine/building-an-app-update.cfg b/.kokoro/appengine/building-an-app-update.cfg deleted file mode 100644 index c926645172..0000000000 --- a/.kokoro/appengine/building-an-app-update.cfg +++ /dev/null @@ -1,13 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Set the folder in which the tests are run -env_vars: { - key: "PROJECT" - value: "appengine/building-an-app/update" -} - -# Tell the trampoline which build file to use. -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/nodejs-docs-samples/.kokoro/build.sh" -} diff --git a/.kokoro/appengine/cloudsql.cfg b/.kokoro/appengine/cloudsql.cfg deleted file mode 100644 index bb1e51ec17..0000000000 --- a/.kokoro/appengine/cloudsql.cfg +++ /dev/null @@ -1,13 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Set the folder in which the tests are run -env_vars: { - key: "PROJECT" - value: "appengine/cloudsql" -} - -# Tell the trampoline which build file to use. -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/nodejs-docs-samples/.kokoro/build.sh" -} diff --git a/.kokoro/appengine/cloudsql_postgresql.cfg b/.kokoro/appengine/cloudsql_postgresql.cfg deleted file mode 100644 index 800be905ca..0000000000 --- a/.kokoro/appengine/cloudsql_postgresql.cfg +++ /dev/null @@ -1,13 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Set the folder in which the tests are run -env_vars: { - key: "PROJECT" - value: "appengine/cloudsql_postgresql" -} - -# Tell the trampoline which build file to use. -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/nodejs-docs-samples/.kokoro/build.sh" -} diff --git a/.kokoro/appengine/datastore.cfg b/.kokoro/appengine/datastore.cfg deleted file mode 100644 index 97a06c108d..0000000000 --- a/.kokoro/appengine/datastore.cfg +++ /dev/null @@ -1,13 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Set the folder in which the tests are run -env_vars: { - key: "PROJECT" - value: "appengine/datastore" -} - -# Tell the trampoline which build file to use. -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/nodejs-docs-samples/.kokoro/build.sh" -} diff --git a/.kokoro/appengine/endpoints.cfg b/.kokoro/appengine/endpoints.cfg deleted file mode 100644 index 5023266099..0000000000 --- a/.kokoro/appengine/endpoints.cfg +++ /dev/null @@ -1,13 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Set the folder in which the tests are run -env_vars: { - key: "PROJECT" - value: "appengine/endpoints" -} - -# Tell the trampoline which build file to use. -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/nodejs-docs-samples/.kokoro/build.sh" -} diff --git a/.kokoro/appengine/errorreporting.cfg b/.kokoro/appengine/errorreporting.cfg deleted file mode 100644 index 03b546bf21..0000000000 --- a/.kokoro/appengine/errorreporting.cfg +++ /dev/null @@ -1,13 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Set the folder in which the tests are run -env_vars: { - key: "PROJECT" - value: "appengine/errorreporting" -} - -# Tell the trampoline which build file to use. -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/nodejs-docs-samples/.kokoro/build.sh" -} diff --git a/.kokoro/appengine/grunt.cfg b/.kokoro/appengine/grunt.cfg deleted file mode 100644 index 129fb5826b..0000000000 --- a/.kokoro/appengine/grunt.cfg +++ /dev/null @@ -1,13 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Set the folder in which the tests are run -env_vars: { - key: "PROJECT" - value: "appengine/grunt" -} - -# Tell the trampoline which build file to use. -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/nodejs-docs-samples/.kokoro/build.sh" -} diff --git a/.kokoro/appengine/headless-chrome.cfg b/.kokoro/appengine/headless-chrome.cfg deleted file mode 100644 index 2e0f2093bc..0000000000 --- a/.kokoro/appengine/headless-chrome.cfg +++ /dev/null @@ -1,13 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Set the folder in which the tests are run -env_vars: { - key: "PROJECT" - value: "appengine/headless-chrome" -} - -# Tell the trampoline which build file to use. -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/nodejs-docs-samples/.kokoro/build.sh" -} diff --git a/.kokoro/appengine/hello-world-flexible.cfg b/.kokoro/appengine/hello-world-flexible.cfg deleted file mode 100644 index 3e5785340c..0000000000 --- a/.kokoro/appengine/hello-world-flexible.cfg +++ /dev/null @@ -1,13 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Set the folder in which the tests are run -env_vars: { - key: "PROJECT" - value: "appengine/hello-world/flexible" -} - -# Tell the trampoline which build file to use. -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/nodejs-docs-samples/.kokoro/build.sh" -} diff --git a/.kokoro/appengine/hello-world-standard.cfg b/.kokoro/appengine/hello-world-standard.cfg deleted file mode 100644 index 72550d46c6..0000000000 --- a/.kokoro/appengine/hello-world-standard.cfg +++ /dev/null @@ -1,13 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Set the folder in which the tests are run -env_vars: { - key: "PROJECT" - value: "appengine/hello-world/standard" -} - -# Tell the trampoline which build file to use. -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/nodejs-docs-samples/.kokoro/build.sh" -} diff --git a/.kokoro/appengine/loopback.cfg b/.kokoro/appengine/loopback.cfg deleted file mode 100644 index 0c766a557a..0000000000 --- a/.kokoro/appengine/loopback.cfg +++ /dev/null @@ -1,13 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Set the folder in which the tests are run -env_vars: { - key: "PROJECT" - value: "appengine/loopback" -} - -# Tell the trampoline which build file to use. -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/nodejs-docs-samples/.kokoro/build.sh" -} diff --git a/.kokoro/appengine/mailjet.cfg b/.kokoro/appengine/mailjet.cfg deleted file mode 100644 index 737be5ceec..0000000000 --- a/.kokoro/appengine/mailjet.cfg +++ /dev/null @@ -1,13 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Set the folder in which the tests are run -env_vars: { - key: "PROJECT" - value: "appengine/mailjet" -} - -# Tell the trampoline which build file to use. -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/nodejs-docs-samples/.kokoro/build.sh" -} diff --git a/.kokoro/appengine/memcached.cfg b/.kokoro/appengine/memcached.cfg deleted file mode 100644 index 35d4d25090..0000000000 --- a/.kokoro/appengine/memcached.cfg +++ /dev/null @@ -1,13 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Set the folder in which the tests are run -env_vars: { - key: "PROJECT" - value: "appengine/memcached" -} - -# Tell the trampoline which build file to use. -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/nodejs-docs-samples/.kokoro/build.sh" -} diff --git a/.kokoro/appengine/metadata-flexible.cfg b/.kokoro/appengine/metadata-flexible.cfg deleted file mode 100644 index d7abd8af9c..0000000000 --- a/.kokoro/appengine/metadata-flexible.cfg +++ /dev/null @@ -1,13 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Set the folder in which the tests are run -env_vars: { - key: "PROJECT" - value: "appengine/metadata/flexible" -} - -# Tell the trampoline which build file to use. -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/nodejs-docs-samples/.kokoro/build.sh" -} diff --git a/.kokoro/appengine/metadata-standard.cfg b/.kokoro/appengine/metadata-standard.cfg deleted file mode 100644 index ee76613aff..0000000000 --- a/.kokoro/appengine/metadata-standard.cfg +++ /dev/null @@ -1,13 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Set the folder in which the tests are run -env_vars: { - key: "PROJECT" - value: "appengine/metadata/standard" -} - -# Tell the trampoline which build file to use. -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/nodejs-docs-samples/.kokoro/build.sh" -} diff --git a/.kokoro/appengine/mongodb.cfg b/.kokoro/appengine/mongodb.cfg deleted file mode 100644 index 10399fe5f3..0000000000 --- a/.kokoro/appengine/mongodb.cfg +++ /dev/null @@ -1,13 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Set the folder in which the tests are run -env_vars: { - key: "PROJECT" - value: "appengine/mongodb" -} - -# Tell the trampoline which build file to use. -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/nodejs-docs-samples/.kokoro/build.sh" -} diff --git a/.kokoro/appengine/node10/analytics.cfg b/.kokoro/appengine/node10/analytics.cfg index 9f5a890cde..ff5c9e8757 100644 --- a/.kokoro/appengine/node10/analytics.cfg +++ b/.kokoro/appengine/node10/analytics.cfg @@ -1,3 +1,13 @@ # Format: //devtools/kokoro/config/proto/build.proto -type: PRESUBMIT_GITHUB \ No newline at end of file +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/analytics" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/appengine/node10/building-an-app-build.cfg b/.kokoro/appengine/node10/building-an-app-build.cfg index 9f5a890cde..2b8d364a0d 100644 --- a/.kokoro/appengine/node10/building-an-app-build.cfg +++ b/.kokoro/appengine/node10/building-an-app-build.cfg @@ -1,3 +1,13 @@ # Format: //devtools/kokoro/config/proto/build.proto -type: PRESUBMIT_GITHUB \ No newline at end of file +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/building-an-app/build" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/appengine/node10/building-an-app-update.cfg b/.kokoro/appengine/node10/building-an-app-update.cfg index 9f5a890cde..c926645172 100644 --- a/.kokoro/appengine/node10/building-an-app-update.cfg +++ b/.kokoro/appengine/node10/building-an-app-update.cfg @@ -1,3 +1,13 @@ # Format: //devtools/kokoro/config/proto/build.proto -type: PRESUBMIT_GITHUB \ No newline at end of file +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/building-an-app/update" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/appengine/node10/cloudsql.cfg b/.kokoro/appengine/node10/cloudsql.cfg index 9f5a890cde..bb1e51ec17 100644 --- a/.kokoro/appengine/node10/cloudsql.cfg +++ b/.kokoro/appengine/node10/cloudsql.cfg @@ -1,3 +1,13 @@ # Format: //devtools/kokoro/config/proto/build.proto -type: PRESUBMIT_GITHUB \ No newline at end of file +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/cloudsql" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/appengine/node10/cloudsql_postgresql.cfg b/.kokoro/appengine/node10/cloudsql_postgresql.cfg index 9f5a890cde..800be905ca 100644 --- a/.kokoro/appengine/node10/cloudsql_postgresql.cfg +++ b/.kokoro/appengine/node10/cloudsql_postgresql.cfg @@ -1,3 +1,13 @@ # Format: //devtools/kokoro/config/proto/build.proto -type: PRESUBMIT_GITHUB \ No newline at end of file +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/cloudsql_postgresql" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/appengine/node10/cloudtasks.cfg b/.kokoro/appengine/node10/cloudtasks.cfg deleted file mode 100644 index 9f5a890cde..0000000000 --- a/.kokoro/appengine/node10/cloudtasks.cfg +++ /dev/null @@ -1,3 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -type: PRESUBMIT_GITHUB \ No newline at end of file diff --git a/.kokoro/appengine/node10/common.cfg b/.kokoro/appengine/node10/common.cfg index b9a044524d..ba79f2b27b 100644 --- a/.kokoro/appengine/node10/common.cfg +++ b/.kokoro/appengine/node10/common.cfg @@ -1,9 +1,22 @@ # Format: //devtools/kokoro/config/proto/build.proto +# Download trampoline resources. These will be in ${KOKORO_GFILE_DIR} +gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline" + +# Download secrets from Cloud Storage. +gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/nodejs-docs-samples" + +# All builds use the trampoline script to run in docker. +build_file: "nodejs-docs-samples/.kokoro/trampoline.sh" + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} + # Configure the docker image for kokoro-trampoline. env_vars: { key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/node:10" + value: "gcr.io/cloud-devrel-kokoro-resources/node:10-user" } - -type: PRESUBMIT_GITHUB diff --git a/.kokoro/appengine/node10/datastore.cfg b/.kokoro/appengine/node10/datastore.cfg index 9f5a890cde..97a06c108d 100644 --- a/.kokoro/appengine/node10/datastore.cfg +++ b/.kokoro/appengine/node10/datastore.cfg @@ -1,3 +1,13 @@ # Format: //devtools/kokoro/config/proto/build.proto -type: PRESUBMIT_GITHUB \ No newline at end of file +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/datastore" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/appengine/node10/endpoints.cfg b/.kokoro/appengine/node10/endpoints.cfg index 9f5a890cde..5023266099 100644 --- a/.kokoro/appengine/node10/endpoints.cfg +++ b/.kokoro/appengine/node10/endpoints.cfg @@ -1,3 +1,13 @@ # Format: //devtools/kokoro/config/proto/build.proto -type: PRESUBMIT_GITHUB \ No newline at end of file +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/endpoints" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/appengine/node10/errorreporting.cfg b/.kokoro/appengine/node10/errorreporting.cfg index 9f5a890cde..03b546bf21 100644 --- a/.kokoro/appengine/node10/errorreporting.cfg +++ b/.kokoro/appengine/node10/errorreporting.cfg @@ -1,3 +1,13 @@ # Format: //devtools/kokoro/config/proto/build.proto -type: PRESUBMIT_GITHUB \ No newline at end of file +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/errorreporting" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/appengine/node10/grunt.cfg b/.kokoro/appengine/node10/grunt.cfg index 9f5a890cde..129fb5826b 100644 --- a/.kokoro/appengine/node10/grunt.cfg +++ b/.kokoro/appengine/node10/grunt.cfg @@ -1,3 +1,13 @@ # Format: //devtools/kokoro/config/proto/build.proto -type: PRESUBMIT_GITHUB \ No newline at end of file +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/grunt" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/appengine/node10/headless-chrome.cfg b/.kokoro/appengine/node10/headless-chrome.cfg index 9f5a890cde..2e0f2093bc 100644 --- a/.kokoro/appengine/node10/headless-chrome.cfg +++ b/.kokoro/appengine/node10/headless-chrome.cfg @@ -1,3 +1,13 @@ # Format: //devtools/kokoro/config/proto/build.proto -type: PRESUBMIT_GITHUB \ No newline at end of file +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/headless-chrome" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/appengine/node10/hello-world-flexible.cfg b/.kokoro/appengine/node10/hello-world-flexible.cfg index 9f5a890cde..3e5785340c 100644 --- a/.kokoro/appengine/node10/hello-world-flexible.cfg +++ b/.kokoro/appengine/node10/hello-world-flexible.cfg @@ -1,3 +1,13 @@ # Format: //devtools/kokoro/config/proto/build.proto -type: PRESUBMIT_GITHUB \ No newline at end of file +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/hello-world/flexible" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/appengine/node10/hello-world-standard.cfg b/.kokoro/appengine/node10/hello-world-standard.cfg index 9f5a890cde..72550d46c6 100644 --- a/.kokoro/appengine/node10/hello-world-standard.cfg +++ b/.kokoro/appengine/node10/hello-world-standard.cfg @@ -1,3 +1,13 @@ # Format: //devtools/kokoro/config/proto/build.proto -type: PRESUBMIT_GITHUB \ No newline at end of file +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/hello-world/standard" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/appengine/node10/loopback.cfg b/.kokoro/appengine/node10/loopback.cfg index 9f5a890cde..0c766a557a 100644 --- a/.kokoro/appengine/node10/loopback.cfg +++ b/.kokoro/appengine/node10/loopback.cfg @@ -1,3 +1,13 @@ # Format: //devtools/kokoro/config/proto/build.proto -type: PRESUBMIT_GITHUB \ No newline at end of file +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/loopback" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/appengine/node10/mailjet.cfg b/.kokoro/appengine/node10/mailjet.cfg index 9f5a890cde..737be5ceec 100644 --- a/.kokoro/appengine/node10/mailjet.cfg +++ b/.kokoro/appengine/node10/mailjet.cfg @@ -1,3 +1,13 @@ # Format: //devtools/kokoro/config/proto/build.proto -type: PRESUBMIT_GITHUB \ No newline at end of file +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/mailjet" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/appengine/node10/memcached.cfg b/.kokoro/appengine/node10/memcached.cfg index 9f5a890cde..35d4d25090 100644 --- a/.kokoro/appengine/node10/memcached.cfg +++ b/.kokoro/appengine/node10/memcached.cfg @@ -1,3 +1,13 @@ # Format: //devtools/kokoro/config/proto/build.proto -type: PRESUBMIT_GITHUB \ No newline at end of file +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/memcached" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/appengine/node10/metadata-flexible.cfg b/.kokoro/appengine/node10/metadata-flexible.cfg index 9f5a890cde..d7abd8af9c 100644 --- a/.kokoro/appengine/node10/metadata-flexible.cfg +++ b/.kokoro/appengine/node10/metadata-flexible.cfg @@ -1,3 +1,13 @@ # Format: //devtools/kokoro/config/proto/build.proto -type: PRESUBMIT_GITHUB \ No newline at end of file +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/metadata/flexible" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/appengine/node10/metadata-standard.cfg b/.kokoro/appengine/node10/metadata-standard.cfg index 9f5a890cde..ee76613aff 100644 --- a/.kokoro/appengine/node10/metadata-standard.cfg +++ b/.kokoro/appengine/node10/metadata-standard.cfg @@ -1,3 +1,13 @@ # Format: //devtools/kokoro/config/proto/build.proto -type: PRESUBMIT_GITHUB \ No newline at end of file +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/metadata/standard" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/appengine/node10/mongodb.cfg b/.kokoro/appengine/node10/mongodb.cfg index 9f5a890cde..10399fe5f3 100644 --- a/.kokoro/appengine/node10/mongodb.cfg +++ b/.kokoro/appengine/node10/mongodb.cfg @@ -1,3 +1,13 @@ # Format: //devtools/kokoro/config/proto/build.proto -type: PRESUBMIT_GITHUB \ No newline at end of file +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/mongodb" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/appengine/node10/parse-server.cfg b/.kokoro/appengine/node10/parse-server.cfg index 9f5a890cde..01e67fa150 100644 --- a/.kokoro/appengine/node10/parse-server.cfg +++ b/.kokoro/appengine/node10/parse-server.cfg @@ -1,3 +1,13 @@ # Format: //devtools/kokoro/config/proto/build.proto -type: PRESUBMIT_GITHUB \ No newline at end of file +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/parse-server" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/appengine/node10/pubsub.cfg b/.kokoro/appengine/node10/pubsub.cfg index 9f5a890cde..73e45664e0 100644 --- a/.kokoro/appengine/node10/pubsub.cfg +++ b/.kokoro/appengine/node10/pubsub.cfg @@ -1,3 +1,25 @@ # Format: //devtools/kokoro/config/proto/build.proto -type: PRESUBMIT_GITHUB \ No newline at end of file +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/pubsub" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} + +# Set the Pub/Sub topic to use +env_vars: { + key: "PUBSUB_TOPIC" + value: "integration-tests-instance" +} + +# Set the Pub/Sub verification token to use +env_vars: { + key: "PUBSUB_VERIFICATION_TOKEN" + value: "123456abcdef" +} diff --git a/.kokoro/appengine/node10/redis.cfg b/.kokoro/appengine/node10/redis.cfg index 9f5a890cde..e40d602a70 100644 --- a/.kokoro/appengine/node10/redis.cfg +++ b/.kokoro/appengine/node10/redis.cfg @@ -1,3 +1,13 @@ # Format: //devtools/kokoro/config/proto/build.proto -type: PRESUBMIT_GITHUB \ No newline at end of file +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/redis" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/appengine/node10/sendgrid.cfg b/.kokoro/appengine/node10/sendgrid.cfg index 9f5a890cde..3c063d3b0c 100644 --- a/.kokoro/appengine/node10/sendgrid.cfg +++ b/.kokoro/appengine/node10/sendgrid.cfg @@ -1,3 +1,13 @@ # Format: //devtools/kokoro/config/proto/build.proto -type: PRESUBMIT_GITHUB \ No newline at end of file +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/sendgrid" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/appengine/node10/static-files.cfg b/.kokoro/appengine/node10/static-files.cfg index 9f5a890cde..ab8ab9602d 100644 --- a/.kokoro/appengine/node10/static-files.cfg +++ b/.kokoro/appengine/node10/static-files.cfg @@ -1,3 +1,13 @@ # Format: //devtools/kokoro/config/proto/build.proto -type: PRESUBMIT_GITHUB \ No newline at end of file +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/static-files" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/appengine/node10/storage-flexible.cfg b/.kokoro/appengine/node10/storage-flexible.cfg index 9f5a890cde..b6a335aeed 100644 --- a/.kokoro/appengine/node10/storage-flexible.cfg +++ b/.kokoro/appengine/node10/storage-flexible.cfg @@ -1,3 +1,13 @@ # Format: //devtools/kokoro/config/proto/build.proto -type: PRESUBMIT_GITHUB \ No newline at end of file +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/storage/flexible" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/appengine/node10/storage-standard.cfg b/.kokoro/appengine/node10/storage-standard.cfg index 9f5a890cde..1ba55e21b7 100644 --- a/.kokoro/appengine/node10/storage-standard.cfg +++ b/.kokoro/appengine/node10/storage-standard.cfg @@ -1,3 +1,13 @@ # Format: //devtools/kokoro/config/proto/build.proto -type: PRESUBMIT_GITHUB \ No newline at end of file +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/storage/standard" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/appengine/node10/twilio.cfg b/.kokoro/appengine/node10/twilio.cfg index 9f5a890cde..1458c80846 100644 --- a/.kokoro/appengine/node10/twilio.cfg +++ b/.kokoro/appengine/node10/twilio.cfg @@ -1,3 +1,13 @@ # Format: //devtools/kokoro/config/proto/build.proto -type: PRESUBMIT_GITHUB \ No newline at end of file +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/twilio" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/appengine/node10/typescript.cfg b/.kokoro/appengine/node10/typescript.cfg index 9f5a890cde..d06d429bf2 100644 --- a/.kokoro/appengine/node10/typescript.cfg +++ b/.kokoro/appengine/node10/typescript.cfg @@ -1,3 +1,13 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -type: PRESUBMIT_GITHUB \ No newline at end of file +# Format: //devtools/kokoro/config/proto/build.proto + +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/typescript" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/appengine/node10/uglifyjs.cfg b/.kokoro/appengine/node10/uglifyjs.cfg index 9f5a890cde..7b2f6a5aa8 100644 --- a/.kokoro/appengine/node10/uglifyjs.cfg +++ b/.kokoro/appengine/node10/uglifyjs.cfg @@ -1,3 +1,13 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -type: PRESUBMIT_GITHUB \ No newline at end of file +# Format: //devtools/kokoro/config/proto/build.proto + +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/uglifyjs" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/appengine/node6/analytics.cfg b/.kokoro/appengine/node6/analytics.cfg index 9f5a890cde..ff5c9e8757 100644 --- a/.kokoro/appengine/node6/analytics.cfg +++ b/.kokoro/appengine/node6/analytics.cfg @@ -1,3 +1,13 @@ # Format: //devtools/kokoro/config/proto/build.proto -type: PRESUBMIT_GITHUB \ No newline at end of file +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/analytics" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/appengine/node6/building-an-app-build.cfg b/.kokoro/appengine/node6/building-an-app-build.cfg index 9f5a890cde..2b8d364a0d 100644 --- a/.kokoro/appengine/node6/building-an-app-build.cfg +++ b/.kokoro/appengine/node6/building-an-app-build.cfg @@ -1,3 +1,13 @@ # Format: //devtools/kokoro/config/proto/build.proto -type: PRESUBMIT_GITHUB \ No newline at end of file +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/building-an-app/build" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/appengine/node6/building-an-app-update.cfg b/.kokoro/appengine/node6/building-an-app-update.cfg index 9f5a890cde..c926645172 100644 --- a/.kokoro/appengine/node6/building-an-app-update.cfg +++ b/.kokoro/appengine/node6/building-an-app-update.cfg @@ -1,3 +1,13 @@ # Format: //devtools/kokoro/config/proto/build.proto -type: PRESUBMIT_GITHUB \ No newline at end of file +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/building-an-app/update" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/appengine/node6/cloudsql.cfg b/.kokoro/appengine/node6/cloudsql.cfg index 9f5a890cde..bb1e51ec17 100644 --- a/.kokoro/appengine/node6/cloudsql.cfg +++ b/.kokoro/appengine/node6/cloudsql.cfg @@ -1,3 +1,13 @@ # Format: //devtools/kokoro/config/proto/build.proto -type: PRESUBMIT_GITHUB \ No newline at end of file +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/cloudsql" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/appengine/node6/cloudsql_postgresql.cfg b/.kokoro/appengine/node6/cloudsql_postgresql.cfg index 9f5a890cde..800be905ca 100644 --- a/.kokoro/appengine/node6/cloudsql_postgresql.cfg +++ b/.kokoro/appengine/node6/cloudsql_postgresql.cfg @@ -1,3 +1,13 @@ # Format: //devtools/kokoro/config/proto/build.proto -type: PRESUBMIT_GITHUB \ No newline at end of file +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/cloudsql_postgresql" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/appengine/node6/cloudtasks.cfg b/.kokoro/appengine/node6/cloudtasks.cfg deleted file mode 100644 index 9f5a890cde..0000000000 --- a/.kokoro/appengine/node6/cloudtasks.cfg +++ /dev/null @@ -1,3 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -type: PRESUBMIT_GITHUB \ No newline at end of file diff --git a/.kokoro/appengine/node6/common.cfg b/.kokoro/appengine/node6/common.cfg index 2cbccc7812..bbe6332443 100644 --- a/.kokoro/appengine/node6/common.cfg +++ b/.kokoro/appengine/node6/common.cfg @@ -1,9 +1,22 @@ # Format: //devtools/kokoro/config/proto/build.proto +# Download trampoline resources. These will be in ${KOKORO_GFILE_DIR} +gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline" + +# Download secrets from Cloud Storage. +gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/nodejs-docs-samples" + +# All builds use the trampoline script to run in docker. +build_file: "nodejs-docs-samples/.kokoro/trampoline.sh" + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} + # Configure the docker image for kokoro-trampoline. env_vars: { key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/node:6" + value: "gcr.io/cloud-devrel-kokoro-resources/node:6-user" } - -type: PRESUBMIT_GITHUB diff --git a/.kokoro/appengine/node6/datastore.cfg b/.kokoro/appengine/node6/datastore.cfg index 9f5a890cde..97a06c108d 100644 --- a/.kokoro/appengine/node6/datastore.cfg +++ b/.kokoro/appengine/node6/datastore.cfg @@ -1,3 +1,13 @@ # Format: //devtools/kokoro/config/proto/build.proto -type: PRESUBMIT_GITHUB \ No newline at end of file +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/datastore" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/appengine/node6/endpoints.cfg b/.kokoro/appengine/node6/endpoints.cfg index 9f5a890cde..5023266099 100644 --- a/.kokoro/appengine/node6/endpoints.cfg +++ b/.kokoro/appengine/node6/endpoints.cfg @@ -1,3 +1,13 @@ # Format: //devtools/kokoro/config/proto/build.proto -type: PRESUBMIT_GITHUB \ No newline at end of file +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/endpoints" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/appengine/node6/errorreporting.cfg b/.kokoro/appengine/node6/errorreporting.cfg index 9f5a890cde..03b546bf21 100644 --- a/.kokoro/appengine/node6/errorreporting.cfg +++ b/.kokoro/appengine/node6/errorreporting.cfg @@ -1,3 +1,13 @@ # Format: //devtools/kokoro/config/proto/build.proto -type: PRESUBMIT_GITHUB \ No newline at end of file +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/errorreporting" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/appengine/node6/grunt.cfg b/.kokoro/appengine/node6/grunt.cfg index 9f5a890cde..129fb5826b 100644 --- a/.kokoro/appengine/node6/grunt.cfg +++ b/.kokoro/appengine/node6/grunt.cfg @@ -1,3 +1,13 @@ # Format: //devtools/kokoro/config/proto/build.proto -type: PRESUBMIT_GITHUB \ No newline at end of file +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/grunt" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/appengine/node6/headless-chrome.cfg b/.kokoro/appengine/node6/headless-chrome.cfg index 9f5a890cde..2e0f2093bc 100644 --- a/.kokoro/appengine/node6/headless-chrome.cfg +++ b/.kokoro/appengine/node6/headless-chrome.cfg @@ -1,3 +1,13 @@ # Format: //devtools/kokoro/config/proto/build.proto -type: PRESUBMIT_GITHUB \ No newline at end of file +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/headless-chrome" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/appengine/node6/hello-world-flexible.cfg b/.kokoro/appengine/node6/hello-world-flexible.cfg index 9f5a890cde..3e5785340c 100644 --- a/.kokoro/appengine/node6/hello-world-flexible.cfg +++ b/.kokoro/appengine/node6/hello-world-flexible.cfg @@ -1,3 +1,13 @@ # Format: //devtools/kokoro/config/proto/build.proto -type: PRESUBMIT_GITHUB \ No newline at end of file +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/hello-world/flexible" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/appengine/node6/hello-world-standard.cfg b/.kokoro/appengine/node6/hello-world-standard.cfg index 9f5a890cde..72550d46c6 100644 --- a/.kokoro/appengine/node6/hello-world-standard.cfg +++ b/.kokoro/appengine/node6/hello-world-standard.cfg @@ -1,3 +1,13 @@ # Format: //devtools/kokoro/config/proto/build.proto -type: PRESUBMIT_GITHUB \ No newline at end of file +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/hello-world/standard" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/appengine/node6/loopback.cfg b/.kokoro/appengine/node6/loopback.cfg index 9f5a890cde..0c766a557a 100644 --- a/.kokoro/appengine/node6/loopback.cfg +++ b/.kokoro/appengine/node6/loopback.cfg @@ -1,3 +1,13 @@ # Format: //devtools/kokoro/config/proto/build.proto -type: PRESUBMIT_GITHUB \ No newline at end of file +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/loopback" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/appengine/node6/mailjet.cfg b/.kokoro/appengine/node6/mailjet.cfg index 9f5a890cde..737be5ceec 100644 --- a/.kokoro/appengine/node6/mailjet.cfg +++ b/.kokoro/appengine/node6/mailjet.cfg @@ -1,3 +1,13 @@ # Format: //devtools/kokoro/config/proto/build.proto -type: PRESUBMIT_GITHUB \ No newline at end of file +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/mailjet" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/appengine/node6/memcached.cfg b/.kokoro/appengine/node6/memcached.cfg index 9f5a890cde..35d4d25090 100644 --- a/.kokoro/appengine/node6/memcached.cfg +++ b/.kokoro/appengine/node6/memcached.cfg @@ -1,3 +1,13 @@ # Format: //devtools/kokoro/config/proto/build.proto -type: PRESUBMIT_GITHUB \ No newline at end of file +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/memcached" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/appengine/node6/metadata-flexible.cfg b/.kokoro/appengine/node6/metadata-flexible.cfg index 9f5a890cde..d7abd8af9c 100644 --- a/.kokoro/appengine/node6/metadata-flexible.cfg +++ b/.kokoro/appengine/node6/metadata-flexible.cfg @@ -1,3 +1,13 @@ # Format: //devtools/kokoro/config/proto/build.proto -type: PRESUBMIT_GITHUB \ No newline at end of file +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/metadata/flexible" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/appengine/node6/metadata-standard.cfg b/.kokoro/appengine/node6/metadata-standard.cfg index 9f5a890cde..ee76613aff 100644 --- a/.kokoro/appengine/node6/metadata-standard.cfg +++ b/.kokoro/appengine/node6/metadata-standard.cfg @@ -1,3 +1,13 @@ # Format: //devtools/kokoro/config/proto/build.proto -type: PRESUBMIT_GITHUB \ No newline at end of file +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/metadata/standard" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/appengine/node6/mongodb.cfg b/.kokoro/appengine/node6/mongodb.cfg index 9f5a890cde..10399fe5f3 100644 --- a/.kokoro/appengine/node6/mongodb.cfg +++ b/.kokoro/appengine/node6/mongodb.cfg @@ -1,3 +1,13 @@ # Format: //devtools/kokoro/config/proto/build.proto -type: PRESUBMIT_GITHUB \ No newline at end of file +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/mongodb" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/appengine/node6/parse-server.cfg b/.kokoro/appengine/node6/parse-server.cfg index 9f5a890cde..01e67fa150 100644 --- a/.kokoro/appengine/node6/parse-server.cfg +++ b/.kokoro/appengine/node6/parse-server.cfg @@ -1,3 +1,13 @@ # Format: //devtools/kokoro/config/proto/build.proto -type: PRESUBMIT_GITHUB \ No newline at end of file +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/parse-server" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/appengine/node6/pubsub.cfg b/.kokoro/appengine/node6/pubsub.cfg index 9f5a890cde..73e45664e0 100644 --- a/.kokoro/appengine/node6/pubsub.cfg +++ b/.kokoro/appengine/node6/pubsub.cfg @@ -1,3 +1,25 @@ # Format: //devtools/kokoro/config/proto/build.proto -type: PRESUBMIT_GITHUB \ No newline at end of file +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/pubsub" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} + +# Set the Pub/Sub topic to use +env_vars: { + key: "PUBSUB_TOPIC" + value: "integration-tests-instance" +} + +# Set the Pub/Sub verification token to use +env_vars: { + key: "PUBSUB_VERIFICATION_TOKEN" + value: "123456abcdef" +} diff --git a/.kokoro/appengine/node6/redis.cfg b/.kokoro/appengine/node6/redis.cfg index 9f5a890cde..e40d602a70 100644 --- a/.kokoro/appengine/node6/redis.cfg +++ b/.kokoro/appengine/node6/redis.cfg @@ -1,3 +1,13 @@ # Format: //devtools/kokoro/config/proto/build.proto -type: PRESUBMIT_GITHUB \ No newline at end of file +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/redis" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/appengine/node6/sendgrid.cfg b/.kokoro/appengine/node6/sendgrid.cfg index 9f5a890cde..3c063d3b0c 100644 --- a/.kokoro/appengine/node6/sendgrid.cfg +++ b/.kokoro/appengine/node6/sendgrid.cfg @@ -1,3 +1,13 @@ # Format: //devtools/kokoro/config/proto/build.proto -type: PRESUBMIT_GITHUB \ No newline at end of file +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/sendgrid" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/appengine/node6/static-files.cfg b/.kokoro/appengine/node6/static-files.cfg index 9f5a890cde..ab8ab9602d 100644 --- a/.kokoro/appengine/node6/static-files.cfg +++ b/.kokoro/appengine/node6/static-files.cfg @@ -1,3 +1,13 @@ # Format: //devtools/kokoro/config/proto/build.proto -type: PRESUBMIT_GITHUB \ No newline at end of file +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/static-files" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/appengine/node6/storage-flexible.cfg b/.kokoro/appengine/node6/storage-flexible.cfg index 9f5a890cde..b6a335aeed 100644 --- a/.kokoro/appengine/node6/storage-flexible.cfg +++ b/.kokoro/appengine/node6/storage-flexible.cfg @@ -1,3 +1,13 @@ # Format: //devtools/kokoro/config/proto/build.proto -type: PRESUBMIT_GITHUB \ No newline at end of file +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/storage/flexible" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/appengine/node6/storage-standard.cfg b/.kokoro/appengine/node6/storage-standard.cfg index 9f5a890cde..1ba55e21b7 100644 --- a/.kokoro/appengine/node6/storage-standard.cfg +++ b/.kokoro/appengine/node6/storage-standard.cfg @@ -1,3 +1,13 @@ # Format: //devtools/kokoro/config/proto/build.proto -type: PRESUBMIT_GITHUB \ No newline at end of file +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/storage/standard" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/appengine/node6/twilio.cfg b/.kokoro/appengine/node6/twilio.cfg index 9f5a890cde..1458c80846 100644 --- a/.kokoro/appengine/node6/twilio.cfg +++ b/.kokoro/appengine/node6/twilio.cfg @@ -1,3 +1,13 @@ # Format: //devtools/kokoro/config/proto/build.proto -type: PRESUBMIT_GITHUB \ No newline at end of file +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/twilio" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/appengine/node6/typescript.cfg b/.kokoro/appengine/node6/typescript.cfg index 9f5a890cde..d06d429bf2 100644 --- a/.kokoro/appengine/node6/typescript.cfg +++ b/.kokoro/appengine/node6/typescript.cfg @@ -1,3 +1,13 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -type: PRESUBMIT_GITHUB \ No newline at end of file +# Format: //devtools/kokoro/config/proto/build.proto + +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/typescript" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/appengine/node6/uglifyjs.cfg b/.kokoro/appengine/node6/uglifyjs.cfg index 9f5a890cde..7b2f6a5aa8 100644 --- a/.kokoro/appengine/node6/uglifyjs.cfg +++ b/.kokoro/appengine/node6/uglifyjs.cfg @@ -1,3 +1,13 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -type: PRESUBMIT_GITHUB \ No newline at end of file +# Format: //devtools/kokoro/config/proto/build.proto + +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/uglifyjs" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/appengine/node8/analytics.cfg b/.kokoro/appengine/node8/analytics.cfg index 9f5a890cde..ff5c9e8757 100644 --- a/.kokoro/appengine/node8/analytics.cfg +++ b/.kokoro/appengine/node8/analytics.cfg @@ -1,3 +1,13 @@ # Format: //devtools/kokoro/config/proto/build.proto -type: PRESUBMIT_GITHUB \ No newline at end of file +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/analytics" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/appengine/node8/building-an-app-build.cfg b/.kokoro/appengine/node8/building-an-app-build.cfg index 9f5a890cde..2b8d364a0d 100644 --- a/.kokoro/appengine/node8/building-an-app-build.cfg +++ b/.kokoro/appengine/node8/building-an-app-build.cfg @@ -1,3 +1,13 @@ # Format: //devtools/kokoro/config/proto/build.proto -type: PRESUBMIT_GITHUB \ No newline at end of file +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/building-an-app/build" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/appengine/node8/building-an-app-update.cfg b/.kokoro/appengine/node8/building-an-app-update.cfg index 9f5a890cde..c926645172 100644 --- a/.kokoro/appengine/node8/building-an-app-update.cfg +++ b/.kokoro/appengine/node8/building-an-app-update.cfg @@ -1,3 +1,13 @@ # Format: //devtools/kokoro/config/proto/build.proto -type: PRESUBMIT_GITHUB \ No newline at end of file +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/building-an-app/update" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/appengine/node8/cloudsql.cfg b/.kokoro/appengine/node8/cloudsql.cfg index 9f5a890cde..bb1e51ec17 100644 --- a/.kokoro/appengine/node8/cloudsql.cfg +++ b/.kokoro/appengine/node8/cloudsql.cfg @@ -1,3 +1,13 @@ # Format: //devtools/kokoro/config/proto/build.proto -type: PRESUBMIT_GITHUB \ No newline at end of file +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/cloudsql" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/appengine/node8/cloudsql_postgresql.cfg b/.kokoro/appengine/node8/cloudsql_postgresql.cfg index 9f5a890cde..800be905ca 100644 --- a/.kokoro/appengine/node8/cloudsql_postgresql.cfg +++ b/.kokoro/appengine/node8/cloudsql_postgresql.cfg @@ -1,3 +1,13 @@ # Format: //devtools/kokoro/config/proto/build.proto -type: PRESUBMIT_GITHUB \ No newline at end of file +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/cloudsql_postgresql" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/appengine/node8/cloudtasks.cfg b/.kokoro/appengine/node8/cloudtasks.cfg deleted file mode 100644 index 9f5a890cde..0000000000 --- a/.kokoro/appengine/node8/cloudtasks.cfg +++ /dev/null @@ -1,3 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -type: PRESUBMIT_GITHUB \ No newline at end of file diff --git a/.kokoro/appengine/node8/common.cfg b/.kokoro/appengine/node8/common.cfg index c384370a8f..9cdf2bc0b7 100644 --- a/.kokoro/appengine/node8/common.cfg +++ b/.kokoro/appengine/node8/common.cfg @@ -1,9 +1,22 @@ # Format: //devtools/kokoro/config/proto/build.proto +# Download trampoline resources. These will be in ${KOKORO_GFILE_DIR} +gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline" + +# Download secrets from Cloud Storage. +gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/nodejs-docs-samples" + +# All builds use the trampoline script to run in docker. +build_file: "nodejs-docs-samples/.kokoro/trampoline.sh" + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} + # Configure the docker image for kokoro-trampoline. env_vars: { key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/node:8" + value: "gcr.io/cloud-devrel-kokoro-resources/node:8-user" } - -type: PRESUBMIT_GITHUB diff --git a/.kokoro/appengine/node8/datastore.cfg b/.kokoro/appengine/node8/datastore.cfg index 9f5a890cde..97a06c108d 100644 --- a/.kokoro/appengine/node8/datastore.cfg +++ b/.kokoro/appengine/node8/datastore.cfg @@ -1,3 +1,13 @@ # Format: //devtools/kokoro/config/proto/build.proto -type: PRESUBMIT_GITHUB \ No newline at end of file +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/datastore" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/appengine/node8/endpoints.cfg b/.kokoro/appengine/node8/endpoints.cfg index 9f5a890cde..5023266099 100644 --- a/.kokoro/appengine/node8/endpoints.cfg +++ b/.kokoro/appengine/node8/endpoints.cfg @@ -1,3 +1,13 @@ # Format: //devtools/kokoro/config/proto/build.proto -type: PRESUBMIT_GITHUB \ No newline at end of file +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/endpoints" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/appengine/node8/errorreporting.cfg b/.kokoro/appengine/node8/errorreporting.cfg index 9f5a890cde..03b546bf21 100644 --- a/.kokoro/appengine/node8/errorreporting.cfg +++ b/.kokoro/appengine/node8/errorreporting.cfg @@ -1,3 +1,13 @@ # Format: //devtools/kokoro/config/proto/build.proto -type: PRESUBMIT_GITHUB \ No newline at end of file +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/errorreporting" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/appengine/node8/grunt.cfg b/.kokoro/appengine/node8/grunt.cfg index 9f5a890cde..129fb5826b 100644 --- a/.kokoro/appengine/node8/grunt.cfg +++ b/.kokoro/appengine/node8/grunt.cfg @@ -1,3 +1,13 @@ # Format: //devtools/kokoro/config/proto/build.proto -type: PRESUBMIT_GITHUB \ No newline at end of file +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/grunt" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/appengine/node8/headless-chrome.cfg b/.kokoro/appengine/node8/headless-chrome.cfg index 9f5a890cde..2e0f2093bc 100644 --- a/.kokoro/appengine/node8/headless-chrome.cfg +++ b/.kokoro/appengine/node8/headless-chrome.cfg @@ -1,3 +1,13 @@ # Format: //devtools/kokoro/config/proto/build.proto -type: PRESUBMIT_GITHUB \ No newline at end of file +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/headless-chrome" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/appengine/node8/hello-world-flexible.cfg b/.kokoro/appengine/node8/hello-world-flexible.cfg index 9f5a890cde..3e5785340c 100644 --- a/.kokoro/appengine/node8/hello-world-flexible.cfg +++ b/.kokoro/appengine/node8/hello-world-flexible.cfg @@ -1,3 +1,13 @@ # Format: //devtools/kokoro/config/proto/build.proto -type: PRESUBMIT_GITHUB \ No newline at end of file +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/hello-world/flexible" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/appengine/node8/hello-world-standard.cfg b/.kokoro/appengine/node8/hello-world-standard.cfg index 9f5a890cde..72550d46c6 100644 --- a/.kokoro/appengine/node8/hello-world-standard.cfg +++ b/.kokoro/appengine/node8/hello-world-standard.cfg @@ -1,3 +1,13 @@ # Format: //devtools/kokoro/config/proto/build.proto -type: PRESUBMIT_GITHUB \ No newline at end of file +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/hello-world/standard" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/appengine/node8/loopback.cfg b/.kokoro/appengine/node8/loopback.cfg index 9f5a890cde..0c766a557a 100644 --- a/.kokoro/appengine/node8/loopback.cfg +++ b/.kokoro/appengine/node8/loopback.cfg @@ -1,3 +1,13 @@ # Format: //devtools/kokoro/config/proto/build.proto -type: PRESUBMIT_GITHUB \ No newline at end of file +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/loopback" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/appengine/node8/mailjet.cfg b/.kokoro/appengine/node8/mailjet.cfg index 9f5a890cde..737be5ceec 100644 --- a/.kokoro/appengine/node8/mailjet.cfg +++ b/.kokoro/appengine/node8/mailjet.cfg @@ -1,3 +1,13 @@ # Format: //devtools/kokoro/config/proto/build.proto -type: PRESUBMIT_GITHUB \ No newline at end of file +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/mailjet" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/appengine/node8/memcached.cfg b/.kokoro/appengine/node8/memcached.cfg index 9f5a890cde..35d4d25090 100644 --- a/.kokoro/appengine/node8/memcached.cfg +++ b/.kokoro/appengine/node8/memcached.cfg @@ -1,3 +1,13 @@ # Format: //devtools/kokoro/config/proto/build.proto -type: PRESUBMIT_GITHUB \ No newline at end of file +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/memcached" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/appengine/node8/metadata-flexible.cfg b/.kokoro/appengine/node8/metadata-flexible.cfg index 9f5a890cde..d7abd8af9c 100644 --- a/.kokoro/appengine/node8/metadata-flexible.cfg +++ b/.kokoro/appengine/node8/metadata-flexible.cfg @@ -1,3 +1,13 @@ # Format: //devtools/kokoro/config/proto/build.proto -type: PRESUBMIT_GITHUB \ No newline at end of file +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/metadata/flexible" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/appengine/node8/metadata-standard.cfg b/.kokoro/appengine/node8/metadata-standard.cfg index 9f5a890cde..ee76613aff 100644 --- a/.kokoro/appengine/node8/metadata-standard.cfg +++ b/.kokoro/appengine/node8/metadata-standard.cfg @@ -1,3 +1,13 @@ # Format: //devtools/kokoro/config/proto/build.proto -type: PRESUBMIT_GITHUB \ No newline at end of file +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/metadata/standard" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/appengine/node8/mongodb.cfg b/.kokoro/appengine/node8/mongodb.cfg index 9f5a890cde..10399fe5f3 100644 --- a/.kokoro/appengine/node8/mongodb.cfg +++ b/.kokoro/appengine/node8/mongodb.cfg @@ -1,3 +1,13 @@ # Format: //devtools/kokoro/config/proto/build.proto -type: PRESUBMIT_GITHUB \ No newline at end of file +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/mongodb" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/appengine/node8/parse-server.cfg b/.kokoro/appengine/node8/parse-server.cfg index 9f5a890cde..01e67fa150 100644 --- a/.kokoro/appengine/node8/parse-server.cfg +++ b/.kokoro/appengine/node8/parse-server.cfg @@ -1,3 +1,13 @@ # Format: //devtools/kokoro/config/proto/build.proto -type: PRESUBMIT_GITHUB \ No newline at end of file +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/parse-server" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/appengine/node8/pubsub.cfg b/.kokoro/appengine/node8/pubsub.cfg index 9f5a890cde..73e45664e0 100644 --- a/.kokoro/appengine/node8/pubsub.cfg +++ b/.kokoro/appengine/node8/pubsub.cfg @@ -1,3 +1,25 @@ # Format: //devtools/kokoro/config/proto/build.proto -type: PRESUBMIT_GITHUB \ No newline at end of file +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/pubsub" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} + +# Set the Pub/Sub topic to use +env_vars: { + key: "PUBSUB_TOPIC" + value: "integration-tests-instance" +} + +# Set the Pub/Sub verification token to use +env_vars: { + key: "PUBSUB_VERIFICATION_TOKEN" + value: "123456abcdef" +} diff --git a/.kokoro/appengine/node8/redis.cfg b/.kokoro/appengine/node8/redis.cfg index 9f5a890cde..e40d602a70 100644 --- a/.kokoro/appengine/node8/redis.cfg +++ b/.kokoro/appengine/node8/redis.cfg @@ -1,3 +1,13 @@ # Format: //devtools/kokoro/config/proto/build.proto -type: PRESUBMIT_GITHUB \ No newline at end of file +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/redis" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/appengine/node8/sendgrid.cfg b/.kokoro/appengine/node8/sendgrid.cfg index 9f5a890cde..3c063d3b0c 100644 --- a/.kokoro/appengine/node8/sendgrid.cfg +++ b/.kokoro/appengine/node8/sendgrid.cfg @@ -1,3 +1,13 @@ # Format: //devtools/kokoro/config/proto/build.proto -type: PRESUBMIT_GITHUB \ No newline at end of file +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/sendgrid" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/appengine/node8/static-files.cfg b/.kokoro/appengine/node8/static-files.cfg index 9f5a890cde..ab8ab9602d 100644 --- a/.kokoro/appengine/node8/static-files.cfg +++ b/.kokoro/appengine/node8/static-files.cfg @@ -1,3 +1,13 @@ # Format: //devtools/kokoro/config/proto/build.proto -type: PRESUBMIT_GITHUB \ No newline at end of file +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/static-files" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/appengine/node8/storage-flexible.cfg b/.kokoro/appengine/node8/storage-flexible.cfg index 9f5a890cde..b6a335aeed 100644 --- a/.kokoro/appengine/node8/storage-flexible.cfg +++ b/.kokoro/appengine/node8/storage-flexible.cfg @@ -1,3 +1,13 @@ # Format: //devtools/kokoro/config/proto/build.proto -type: PRESUBMIT_GITHUB \ No newline at end of file +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/storage/flexible" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/appengine/node8/storage-standard.cfg b/.kokoro/appengine/node8/storage-standard.cfg index 9f5a890cde..1ba55e21b7 100644 --- a/.kokoro/appengine/node8/storage-standard.cfg +++ b/.kokoro/appengine/node8/storage-standard.cfg @@ -1,3 +1,13 @@ # Format: //devtools/kokoro/config/proto/build.proto -type: PRESUBMIT_GITHUB \ No newline at end of file +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/storage/standard" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/appengine/node8/twilio.cfg b/.kokoro/appengine/node8/twilio.cfg index 9f5a890cde..1458c80846 100644 --- a/.kokoro/appengine/node8/twilio.cfg +++ b/.kokoro/appengine/node8/twilio.cfg @@ -1,3 +1,13 @@ # Format: //devtools/kokoro/config/proto/build.proto -type: PRESUBMIT_GITHUB \ No newline at end of file +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/twilio" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/appengine/node8/typescript.cfg b/.kokoro/appengine/node8/typescript.cfg index 9f5a890cde..d06d429bf2 100644 --- a/.kokoro/appengine/node8/typescript.cfg +++ b/.kokoro/appengine/node8/typescript.cfg @@ -1,3 +1,13 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -type: PRESUBMIT_GITHUB \ No newline at end of file +# Format: //devtools/kokoro/config/proto/build.proto + +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/typescript" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/appengine/node8/uglifyjs.cfg b/.kokoro/appengine/node8/uglifyjs.cfg index 9f5a890cde..7b2f6a5aa8 100644 --- a/.kokoro/appengine/node8/uglifyjs.cfg +++ b/.kokoro/appengine/node8/uglifyjs.cfg @@ -1,3 +1,13 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -type: PRESUBMIT_GITHUB \ No newline at end of file +# Format: //devtools/kokoro/config/proto/build.proto + +# Set the folder in which the tests are run +env_vars: { + key: "PROJECT" + value: "appengine/uglifyjs" +} + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-docs-samples/.kokoro/build.sh" +} diff --git a/.kokoro/appengine/parse-server.cfg b/.kokoro/appengine/parse-server.cfg deleted file mode 100644 index 01e67fa150..0000000000 --- a/.kokoro/appengine/parse-server.cfg +++ /dev/null @@ -1,13 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Set the folder in which the tests are run -env_vars: { - key: "PROJECT" - value: "appengine/parse-server" -} - -# Tell the trampoline which build file to use. -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/nodejs-docs-samples/.kokoro/build.sh" -} diff --git a/.kokoro/appengine/pubsub.cfg b/.kokoro/appengine/pubsub.cfg deleted file mode 100644 index 73e45664e0..0000000000 --- a/.kokoro/appengine/pubsub.cfg +++ /dev/null @@ -1,25 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Set the folder in which the tests are run -env_vars: { - key: "PROJECT" - value: "appengine/pubsub" -} - -# Tell the trampoline which build file to use. -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/nodejs-docs-samples/.kokoro/build.sh" -} - -# Set the Pub/Sub topic to use -env_vars: { - key: "PUBSUB_TOPIC" - value: "integration-tests-instance" -} - -# Set the Pub/Sub verification token to use -env_vars: { - key: "PUBSUB_VERIFICATION_TOKEN" - value: "123456abcdef" -} diff --git a/.kokoro/appengine/redis.cfg b/.kokoro/appengine/redis.cfg deleted file mode 100644 index e40d602a70..0000000000 --- a/.kokoro/appengine/redis.cfg +++ /dev/null @@ -1,13 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Set the folder in which the tests are run -env_vars: { - key: "PROJECT" - value: "appengine/redis" -} - -# Tell the trampoline which build file to use. -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/nodejs-docs-samples/.kokoro/build.sh" -} diff --git a/.kokoro/appengine/sendgrid.cfg b/.kokoro/appengine/sendgrid.cfg deleted file mode 100644 index 3c063d3b0c..0000000000 --- a/.kokoro/appengine/sendgrid.cfg +++ /dev/null @@ -1,13 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Set the folder in which the tests are run -env_vars: { - key: "PROJECT" - value: "appengine/sendgrid" -} - -# Tell the trampoline which build file to use. -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/nodejs-docs-samples/.kokoro/build.sh" -} diff --git a/.kokoro/appengine/static-files.cfg b/.kokoro/appengine/static-files.cfg deleted file mode 100644 index ab8ab9602d..0000000000 --- a/.kokoro/appengine/static-files.cfg +++ /dev/null @@ -1,13 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Set the folder in which the tests are run -env_vars: { - key: "PROJECT" - value: "appengine/static-files" -} - -# Tell the trampoline which build file to use. -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/nodejs-docs-samples/.kokoro/build.sh" -} diff --git a/.kokoro/appengine/storage-flexible.cfg b/.kokoro/appengine/storage-flexible.cfg deleted file mode 100644 index b6a335aeed..0000000000 --- a/.kokoro/appengine/storage-flexible.cfg +++ /dev/null @@ -1,13 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Set the folder in which the tests are run -env_vars: { - key: "PROJECT" - value: "appengine/storage/flexible" -} - -# Tell the trampoline which build file to use. -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/nodejs-docs-samples/.kokoro/build.sh" -} diff --git a/.kokoro/appengine/storage-standard.cfg b/.kokoro/appengine/storage-standard.cfg deleted file mode 100644 index 1ba55e21b7..0000000000 --- a/.kokoro/appengine/storage-standard.cfg +++ /dev/null @@ -1,13 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Set the folder in which the tests are run -env_vars: { - key: "PROJECT" - value: "appengine/storage/standard" -} - -# Tell the trampoline which build file to use. -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/nodejs-docs-samples/.kokoro/build.sh" -} diff --git a/.kokoro/appengine/twilio.cfg b/.kokoro/appengine/twilio.cfg deleted file mode 100644 index 1458c80846..0000000000 --- a/.kokoro/appengine/twilio.cfg +++ /dev/null @@ -1,13 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Set the folder in which the tests are run -env_vars: { - key: "PROJECT" - value: "appengine/twilio" -} - -# Tell the trampoline which build file to use. -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/nodejs-docs-samples/.kokoro/build.sh" -} diff --git a/.kokoro/appengine/typescript.cfg b/.kokoro/appengine/typescript.cfg deleted file mode 100644 index d06d429bf2..0000000000 --- a/.kokoro/appengine/typescript.cfg +++ /dev/null @@ -1,13 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Set the folder in which the tests are run -env_vars: { - key: "PROJECT" - value: "appengine/typescript" -} - -# Tell the trampoline which build file to use. -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/nodejs-docs-samples/.kokoro/build.sh" -} diff --git a/.kokoro/appengine/uglifyjs.cfg b/.kokoro/appengine/uglifyjs.cfg deleted file mode 100644 index 7b2f6a5aa8..0000000000 --- a/.kokoro/appengine/uglifyjs.cfg +++ /dev/null @@ -1,13 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Set the folder in which the tests are run -env_vars: { - key: "PROJECT" - value: "appengine/uglifyjs" -} - -# Tell the trampoline which build file to use. -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/nodejs-docs-samples/.kokoro/build.sh" -} diff --git a/appengine/analytics/app.js b/appengine/analytics/app.js index 42ee599913..94c8262710 100644 --- a/appengine/analytics/app.js +++ b/appengine/analytics/app.js @@ -1,5 +1,5 @@ /** - * Copyright 2017, Google, Inc. + * Copyright 2018, Google LLC. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at diff --git a/appengine/datastore/package.json b/appengine/datastore/package.json index 85d938f909..ea7eac5524 100644 --- a/appengine/datastore/package.json +++ b/appengine/datastore/package.json @@ -20,11 +20,11 @@ "test": "npm run system-test" }, "dependencies": { - "@google-cloud/datastore": "1.3.4", - "express": "4.16.2" + "@google-cloud/datastore": "2.0.0", + "express": "4.16.4" }, "devDependencies": { - "@google-cloud/nodejs-repo-tools": "2.2.1", + "@google-cloud/nodejs-repo-tools": "2.3.5", "semistandard": "^12.0.1" }, "cloud-repo-tools": { diff --git a/appengine/pubsub/app.js b/appengine/pubsub/app.js index efd366d596..7ae0880807 100644 --- a/appengine/pubsub/app.js +++ b/appengine/pubsub/app.js @@ -29,7 +29,7 @@ const process = require('process'); // Required for mocking environment variable const PubSub = require('@google-cloud/pubsub'); // Instantiate a pubsub client -const pubsub = PubSub(); +const pubsub = new PubSub(); const app = express(); app.set('view engine', 'pug'); diff --git a/appengine/pubsub/package.json b/appengine/pubsub/package.json index 9700a93f63..555c8759c5 100644 --- a/appengine/pubsub/package.json +++ b/appengine/pubsub/package.json @@ -13,16 +13,16 @@ "test": "repo-tools test app && ava -T 30s */*.test.js" }, "dependencies": { - "@google-cloud/pubsub": "^0.16.5", - "body-parser": "1.18.2", + "@google-cloud/pubsub": "^0.20.1", + "body-parser": "1.18.3", "express": "^4.16.3", "pug": "^2.0.1", - "safe-buffer": "5.1.1" + "safe-buffer": "5.1.2" }, "devDependencies": { "@google-cloud/nodejs-repo-tools": "^2.3.0", "ava": "0.25.0", - "uuid": "3.2.1" + "uuid": "3.3.2" }, "cloud-repo-tools": { "requiresProjectId": true,