xref: /aosp_15_r20/external/sdk-platform-java/.kokoro/presubmit/common.cfg (revision 882aa7c72c3cd3b66e72a261bdd69b93f7de7670)
1# Format: //devtools/kokoro/config/proto/build.proto
2
3# Download trampoline resources. These will be in ${KOKORO_GFILE_DIR}
4gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline"
5
6# All builds use the trampoline script to run in docker.
7build_file: "gapic-generator-java/.kokoro/trampoline.sh"
8
9env_vars: {
10  key: "TRAMPOLINE_BUILD_FILE"
11  value: "github/gapic-generator-java/.kokoro/presubmit/downstream-build.sh"
12}
13
14# TODO: remove this after we've migrated all tests and scripts
15env_vars: {
16  key: "GCLOUD_PROJECT"
17  value: "cloud-java-ci-test"
18}
19
20env_vars: {
21  key: "GOOGLE_CLOUD_PROJECT"
22  value: "cloud-java-ci-test"
23}
24
25env_vars: {
26  key: "GOOGLE_APPLICATION_CREDENTIALS"
27  value: "secret_manager/cloud-java-ci-it-service-account"
28}
29
30env_vars: {
31  key: "SECRET_MANAGER_KEYS"
32  value: "cloud-java-ci-it-service-account"
33}
34
35# Defines the google-cloud-java modules to be tested downstream tested with GraalVM native image
36# builds.
37env_vars: {
38  key: "MODULES_UNDER_TEST"
39  value: "java-kms,java-os-login" # KMS's ITKmsTest exercises gax-java's native image
40  # reflect-config.json. OS Login has a similar issue.
41}
42