From 934ad4a3871317169b4e834a9b715b7853685cf2 Mon Sep 17 00:00:00 2001 From: Jonathan Lui Date: Tue, 23 Oct 2018 18:22:50 -0700 Subject: [PATCH] build: run tests on node11 (#1410) * build: run tests on node11 * build: run tests on node11 * build: run tests on node11 * build: run tests on node11 --- .kokoro/continuous/node11/common.cfg | 24 ++++++++++++++++++++++++ .kokoro/continuous/node11/test.cfg | 0 .kokoro/presubmit/node11/common.cfg | 24 ++++++++++++++++++++++++ .kokoro/presubmit/node11/test.cfg | 0 4 files changed, 48 insertions(+) create mode 100644 .kokoro/continuous/node11/common.cfg create mode 100644 .kokoro/continuous/node11/test.cfg create mode 100644 .kokoro/presubmit/node11/common.cfg create mode 100644 .kokoro/presubmit/node11/test.cfg diff --git a/.kokoro/continuous/node11/common.cfg b/.kokoro/continuous/node11/common.cfg new file mode 100644 index 00000000000..a4d540c21e2 --- /dev/null +++ b/.kokoro/continuous/node11/common.cfg @@ -0,0 +1,24 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Build logs will be here +action { + define_artifacts { + regex: "**/*sponge_log.xml" + } +} + +# Download trampoline resources. +gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline" + +# Use the trampoline script to run in docker. +build_file: "google-api-nodejs-client/.kokoro/trampoline.sh" + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/node:11-user" +} +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/google-api-nodejs-client/.kokoro/test.sh" +} diff --git a/.kokoro/continuous/node11/test.cfg b/.kokoro/continuous/node11/test.cfg new file mode 100644 index 00000000000..e69de29bb2d diff --git a/.kokoro/presubmit/node11/common.cfg b/.kokoro/presubmit/node11/common.cfg new file mode 100644 index 00000000000..a4d540c21e2 --- /dev/null +++ b/.kokoro/presubmit/node11/common.cfg @@ -0,0 +1,24 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Build logs will be here +action { + define_artifacts { + regex: "**/*sponge_log.xml" + } +} + +# Download trampoline resources. +gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline" + +# Use the trampoline script to run in docker. +build_file: "google-api-nodejs-client/.kokoro/trampoline.sh" + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/node:11-user" +} +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/google-api-nodejs-client/.kokoro/test.sh" +} diff --git a/.kokoro/presubmit/node11/test.cfg b/.kokoro/presubmit/node11/test.cfg new file mode 100644 index 00000000000..e69de29bb2d