diff --git a/.kokoro/continuous/samples/common.cfg b/.kokoro/continuous/samples/common.cfg new file mode 100644 index 00000000000..e6b577f86f6 --- /dev/null +++ b/.kokoro/continuous/samples/common.cfg @@ -0,0 +1,25 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +env_vars: { + key: "JOB_TYPE" + value: "samples" +} + +env_vars: { + key: "GCLOUD_PROJECT" + value: "gcloud-devel" +} + +env_vars: { + key: "GOOGLE_APPLICATION_CREDENTIALS" + value: "keystore/73713_java_it_service_account" +} + +before_action { + fetch_keystore { + keystore_resource { + keystore_config_id: 73713 + keyname: "java_it_service_account" + } + } +} diff --git a/.kokoro/continuous/samples/samples-java11.cfg b/.kokoro/continuous/samples/samples-java11.cfg new file mode 100644 index 00000000000..709f2b4c73d --- /dev/null +++ b/.kokoro/continuous/samples/samples-java11.cfg @@ -0,0 +1,7 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/java11" +} diff --git a/.kokoro/continuous/samples/samples-java8.cfg b/.kokoro/continuous/samples/samples-java8.cfg new file mode 100644 index 00000000000..3b017fc80f0 --- /dev/null +++ b/.kokoro/continuous/samples/samples-java8.cfg @@ -0,0 +1,7 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/java8" +} diff --git a/.kokoro/nightly/samples/common.cfg b/.kokoro/nightly/samples/common.cfg new file mode 100644 index 00000000000..be513e11d6c --- /dev/null +++ b/.kokoro/nightly/samples/common.cfg @@ -0,0 +1,32 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +env_vars: { + key: "JOB_TYPE" + value: "samples" +} + +# TODO: remove this after we've migrated all tests and scripts +env_vars: { + key: "GCLOUD_PROJECT" + value: "java-docs-samples-testing" +} + +env_vars: { + key: "GOOGLE_CLOUD_PROJECT" + value: "java-docs-samples-testing" +} + +env_vars: { + key: "GOOGLE_APPLICATION_CREDENTIALS" + value: "secret_manager/java-docs-samples-service-account" +} + +env_vars: { + key: "SECRET_MANAGER_KEYS" + value: "java-docs-samples-service-account" +} + +env_vars: { + key: "ENABLE_BUILD_COP" + value: "true" +} diff --git a/.kokoro/nightly/samples/samples-java11.cfg b/.kokoro/nightly/samples/samples-java11.cfg new file mode 100644 index 00000000000..709f2b4c73d --- /dev/null +++ b/.kokoro/nightly/samples/samples-java11.cfg @@ -0,0 +1,7 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/java11" +} diff --git a/.kokoro/nightly/samples/samples-java8.cfg b/.kokoro/nightly/samples/samples-java8.cfg new file mode 100644 index 00000000000..3b017fc80f0 --- /dev/null +++ b/.kokoro/nightly/samples/samples-java8.cfg @@ -0,0 +1,7 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/java8" +} diff --git a/.kokoro/presubmit/samples/common.cfg b/.kokoro/presubmit/samples/common.cfg new file mode 100644 index 00000000000..51c92244220 --- /dev/null +++ b/.kokoro/presubmit/samples/common.cfg @@ -0,0 +1,27 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +env_vars: { + key: "JOB_TYPE" + value: "samples" +} + +# TODO: remove this after we've migrated all tests and scripts +env_vars: { + key: "GCLOUD_PROJECT" + value: "java-docs-samples-testing" +} + +env_vars: { + key: "GOOGLE_CLOUD_PROJECT" + value: "java-docs-samples-testing" +} + +env_vars: { + key: "GOOGLE_APPLICATION_CREDENTIALS" + value: "secret_manager/java-docs-samples-service-account" +} + +env_vars: { + key: "SECRET_MANAGER_KEYS" + value: "java-docs-samples-service-account" +} diff --git a/.kokoro/presubmit/samples/samples-java11.cfg b/.kokoro/presubmit/samples/samples-java11.cfg new file mode 100644 index 00000000000..709f2b4c73d --- /dev/null +++ b/.kokoro/presubmit/samples/samples-java11.cfg @@ -0,0 +1,7 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/java11" +} diff --git a/.kokoro/presubmit/samples/samples-java8.cfg b/.kokoro/presubmit/samples/samples-java8.cfg new file mode 100644 index 00000000000..3b017fc80f0 --- /dev/null +++ b/.kokoro/presubmit/samples/samples-java8.cfg @@ -0,0 +1,7 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/java8" +}