File tree Expand file tree Collapse file tree 6 files changed +44
-2
lines changed
packages/google-cloud-logging
.kokoro/environment/functions_37 Expand file tree Collapse file tree 6 files changed +44
-2
lines changed Original file line number Diff line number Diff line change 1+ # Format: //devtools/kokoro/config/proto/build.proto
2+
3+ # Build logs will be here
4+ action {
5+ define_artifacts {
6+ regex: " **/*sponge_log.xml"
7+ }
8+ }
9+
10+
11+ # Specify which tests to run
12+ env_vars: {
13+ key: " ENVIRONMENT"
14+ value: " functions"
15+ }
16+
17+ env_vars: {
18+ key: " RUNTIME"
19+ value: " python37"
20+ }
21+
22+ # Download trampoline resources.
23+ gfile_resources: " /bigstore/cloud-devrel-kokoro-resources/trampoline"
24+
25+ # Download resources for system tests (service account key, etc.)
26+ gfile_resources: " /bigstore/cloud-devrel-kokoro-resources/google-cloud-python"
27+
28+ # Use the trampoline script to run in docker.
29+ build_file: " python-logging/.kokoro/trampoline_v2.sh"
30+
31+ # Configure the docker image for kokoro-trampoline.
32+ env_vars: {
33+ key: " TRAMPOLINE_IMAGE"
34+ value: " gcr.io/cloud-devrel-kokoro-resources/python-multi"
35+ }
36+ env_vars: {
37+ key: " TRAMPOLINE_BUILD_FILE"
38+ value: " github/python-logging/.kokoro/environment_tests.sh"
39+ }
Original file line number Diff line number Diff line change 1+ # Format: //devtools/kokoro/config/proto/build.proto
Original file line number Diff line number Diff line change 1+ # Format: //devtools/kokoro/config/proto/build.proto
Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ required_envvars+=()
2020# Add env vars which are passed down into the container here.
2121pass_down_envvars+=(
2222 "ENVIRONMENT"
23+ "RUNTIME"
2324 "STAGING_BUCKET"
2425 "V2_STAGING_BUCKET"
2526 "NOX_SESSION"
Original file line number Diff line number Diff line change 7777s .replace (
7878 ".trampolinerc" ,
7979 "pass_down_envvars\+\=\(" ,
80- 'pass_down_envvars+=(\n "ENVIRONMENT"'
80+ 'pass_down_envvars+=(\n "ENVIRONMENT"\n "RUNTIME" '
8181)
8282
8383# don't lint environment tests
Original file line number Diff line number Diff line change 1- Subproject commit 0e331115867ca5a26b1efd9d99c43fbb1cb9363b
1+ Subproject commit 74542ed0406167670870b7db1b170562973ede06
You can’t perform that action at this time.
0 commit comments