From b9d8f03be68a541085520b859fd94bef78f4f131 Mon Sep 17 00:00:00 2001 From: Chris Wilcox Date: Fri, 3 Aug 2018 12:50:53 -0700 Subject: [PATCH] add common to each subdir --- .kokoro/node10/common.cfg | 27 +++++++++++++++++++++++++++ .kokoro/node6/common.cfg | 27 +++++++++++++++++++++++++++ .kokoro/node6/presubmit.cfg | 5 ----- .kokoro/node8/common.cfg | 27 +++++++++++++++++++++++++++ .kokoro/node8/presubmit.cfg | 5 ----- 5 files changed, 81 insertions(+), 10 deletions(-) create mode 100644 .kokoro/node10/common.cfg create mode 100644 .kokoro/node6/common.cfg create mode 100644 .kokoro/node8/common.cfg diff --git a/.kokoro/node10/common.cfg b/.kokoro/node10/common.cfg new file mode 100644 index 00000000..8fbea794 --- /dev/null +++ b/.kokoro/node10/common.cfg @@ -0,0 +1,27 @@ +# 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" + +# Download resources for system tests (service account key, etc.) +gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/google-cloud-nodejs" + +# Use the trampoline script to run in docker. +build_file: "nodejs-vision/.kokoro/trampoline.sh" + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/node:10" +} +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-vision/.kokoro/build.sh" +} diff --git a/.kokoro/node6/common.cfg b/.kokoro/node6/common.cfg new file mode 100644 index 00000000..8fbea794 --- /dev/null +++ b/.kokoro/node6/common.cfg @@ -0,0 +1,27 @@ +# 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" + +# Download resources for system tests (service account key, etc.) +gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/google-cloud-nodejs" + +# Use the trampoline script to run in docker. +build_file: "nodejs-vision/.kokoro/trampoline.sh" + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/node:10" +} +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-vision/.kokoro/build.sh" +} diff --git a/.kokoro/node6/presubmit.cfg b/.kokoro/node6/presubmit.cfg index 86f6e1e3..e69de29b 100644 --- a/.kokoro/node6/presubmit.cfg +++ b/.kokoro/node6/presubmit.cfg @@ -1,5 +0,0 @@ -# Configure the docker image for kokoro-trampoline. -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/node:6" -} diff --git a/.kokoro/node8/common.cfg b/.kokoro/node8/common.cfg new file mode 100644 index 00000000..e9dad394 --- /dev/null +++ b/.kokoro/node8/common.cfg @@ -0,0 +1,27 @@ +# 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" + +# Download resources for system tests (service account key, etc.) +gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/google-cloud-nodejs" + +# Use the trampoline script to run in docker. +build_file: "nodejs-vision/.kokoro/trampoline.sh" + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/node:8" +} +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-vision/.kokoro/build.sh" +} diff --git a/.kokoro/node8/presubmit.cfg b/.kokoro/node8/presubmit.cfg index 728760fb..e69de29b 100644 --- a/.kokoro/node8/presubmit.cfg +++ b/.kokoro/node8/presubmit.cfg @@ -1,5 +0,0 @@ -# Configure the docker image for kokoro-trampoline. -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/node:8" -}