File tree Expand file tree Collapse file tree 6 files changed +70
-14
lines changed
.kokoro/samples/python3.9 Expand file tree Collapse file tree 6 files changed +70
-14
lines changed Original file line number Diff line number Diff line change 1- # Copyright 2021 Google LLC
2- #
3- # Licensed under the Apache License, Version 2.0 (the "License");
4- # you may not use this file except in compliance with the License.
5- # You may obtain a copy of the License at
6- #
7- # http://www.apache.org/licenses/LICENSE-2.0
8- #
9- # Unless required by applicable law or agreed to in writing, software
10- # distributed under the License is distributed on an "AS IS" BASIS,
11- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12- # See the License for the specific language governing permissions and
13- # limitations under the License.
141docker :
152 image : gcr.io/repo-automation-bots/owlbot-python:latest
16- digest : sha256:c66ba3c8d7bc8566f47df841f98cd0097b28fff0b1864c86f5817f4c8c3e8600
3+ digest : sha256:df50e8d462f86d6bcb42f27ecad55bb12c404f1c65de9c6fe4c4d25120080bd6
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+ # Specify which tests to run
11+ env_vars: {
12+ key: " RUN_TESTS_SESSION"
13+ value: " py-3.9"
14+ }
15+
16+ # Declare build specific Cloud project.
17+ env_vars: {
18+ key: " BUILD_SPECIFIC_GCLOUD_PROJECT"
19+ value: " python-docs-samples-tests-py39"
20+ }
21+
22+ env_vars: {
23+ key: " TRAMPOLINE_BUILD_FILE"
24+ value: " github/google-api-python-client/.kokoro/test-samples.sh"
25+ }
26+
27+ # Configure the docker image for kokoro-trampoline.
28+ env_vars: {
29+ key: " TRAMPOLINE_IMAGE"
30+ value: " gcr.io/cloud-devrel-kokoro-resources/python-samples-testing-docker"
31+ }
32+
33+ # Download secrets for samples
34+ gfile_resources: " /bigstore/cloud-devrel-kokoro-resources/python-docs-samples"
35+
36+ # Download trampoline resources.
37+ gfile_resources: " /bigstore/cloud-devrel-kokoro-resources/trampoline"
38+
39+ # Use the trampoline script to run in docker.
40+ build_file: " google-api-python-client/.kokoro/trampoline.sh"
Original file line number Diff line number Diff line change 1+ # Format: //devtools/kokoro/config/proto/build.proto
2+
3+ env_vars: {
4+ key: " INSTALL_LIBRARY_FROM_SOURCE"
5+ value: " True"
6+ }
Original file line number Diff line number Diff line change 1+ # Format: //devtools/kokoro/config/proto/build.proto
2+
3+ env_vars: {
4+ key: " INSTALL_LIBRARY_FROM_SOURCE"
5+ value: " True"
6+ }
7+
8+ env_vars: {
9+ key: " TRAMPOLINE_BUILD_FILE"
10+ value: " github/python-pubsub/.kokoro/test-samples-against-head.sh"
11+ }
Original file line number Diff line number Diff line change 1+ # Format: //devtools/kokoro/config/proto/build.proto
2+
3+ env_vars: {
4+ key: " INSTALL_LIBRARY_FROM_SOURCE"
5+ value: " False"
6+ }
Original file line number Diff line number Diff line change 1+ # Format: //devtools/kokoro/config/proto/build.proto
2+
3+ env_vars: {
4+ key: " INSTALL_LIBRARY_FROM_SOURCE"
5+ value: " True"
6+ }
You can’t perform that action at this time.
0 commit comments