diff --git a/synthtool/gcp/templates/node_library/.kokoro/continuous/node11/common.cfg b/synthtool/gcp/templates/node_library/.kokoro/continuous/node11/common.cfg new file mode 100644 index 000000000..5a2e6753b --- /dev/null +++ b/synthtool/gcp/templates/node_library/.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: "{{ metadata['repository_name'] }}/.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/{{ metadata['repository_name'] }}/.kokoro/test.sh" +} diff --git a/synthtool/gcp/templates/node_library/.kokoro/continuous/node11/test.cfg b/synthtool/gcp/templates/node_library/.kokoro/continuous/node11/test.cfg new file mode 100644 index 000000000..e69de29bb diff --git a/synthtool/gcp/templates/node_library/.kokoro/presubmit/node11/common.cfg b/synthtool/gcp/templates/node_library/.kokoro/presubmit/node11/common.cfg new file mode 100644 index 000000000..5a2e6753b --- /dev/null +++ b/synthtool/gcp/templates/node_library/.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: "{{ metadata['repository_name'] }}/.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/{{ metadata['repository_name'] }}/.kokoro/test.sh" +} diff --git a/synthtool/gcp/templates/node_library/.kokoro/presubmit/node11/test.cfg b/synthtool/gcp/templates/node_library/.kokoro/presubmit/node11/test.cfg new file mode 100644 index 000000000..e69de29bb