1# Format: //devtools/kokoro/config/proto/build.proto
2
3# Build logs will be here
4action {
5  define_artifacts {
6    regex: "**/*sponge_log.xml"
7  }
8}
9
10# Specify which tests to run
11env_vars: {
12    key: "RUN_TESTS_SESSION"
13    value: "py-3.9"
14}
15
16# Declare build specific Cloud project.
17env_vars: {
18    key: "BUILD_SPECIFIC_GCLOUD_PROJECT"
19    value: "python-docs-samples-tests-py39"
20}
21
22env_vars: {
23    key: "TRAMPOLINE_BUILD_FILE"
24    value: "github/google-auth-library-python/.kokoro/test-samples.sh"
25}
26
27# Configure the docker image for kokoro-trampoline.
28env_vars: {
29    key: "TRAMPOLINE_IMAGE"
30    value: "gcr.io/cloud-devrel-kokoro-resources/python-samples-testing-docker"
31}
32
33# Download secrets for samples
34gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/python-docs-samples"
35
36# Download trampoline resources.
37gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline"
38
39# Use the trampoline script to run in docker.
40build_file: "google-auth-library-python/.kokoro/trampoline_v2.sh"