File tree Expand file tree Collapse file tree 9 files changed +20
-13
lines changed
Expand file tree Collapse file tree 9 files changed +20
-13
lines changed Original file line number Diff line number Diff line change 11docker :
22 image : gcr.io/cloud-devrel-public-resources/owlbot-python:latest
3- digest : sha256:82b12321da4446a73cb11bcb6812fbec8c105abda3946d46e6394e5fbfb64c0f
3+ digest : sha256:6e7328583be8edd3ba8f35311c76a1ecbc823010279ccb6ab46b7a76e25eafcc
Original file line number Diff line number Diff line change @@ -31,4 +31,4 @@ gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/python-docs-samples"
3131gfile_resources: " /bigstore/cloud-devrel-kokoro-resources/trampoline"
3232
3333# Use the trampoline script to run in docker.
34- build_file: " python-aiplatform/.kokoro/trampoline .sh"
34+ build_file: " python-aiplatform/.kokoro/trampoline_v2 .sh"
Original file line number Diff line number Diff line change @@ -37,4 +37,4 @@ gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/python-docs-samples"
3737gfile_resources: " /bigstore/cloud-devrel-kokoro-resources/trampoline"
3838
3939# Use the trampoline script to run in docker.
40- build_file: " python-aiplatform/.kokoro/trampoline .sh"
40+ build_file: " python-aiplatform/.kokoro/trampoline_v2 .sh"
Original file line number Diff line number Diff line change @@ -37,4 +37,4 @@ gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/python-docs-samples"
3737gfile_resources: " /bigstore/cloud-devrel-kokoro-resources/trampoline"
3838
3939# Use the trampoline script to run in docker.
40- build_file: " python-aiplatform/.kokoro/trampoline .sh"
40+ build_file: " python-aiplatform/.kokoro/trampoline_v2 .sh"
Original file line number Diff line number Diff line change @@ -37,4 +37,4 @@ gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/python-docs-samples"
3737gfile_resources: " /bigstore/cloud-devrel-kokoro-resources/trampoline"
3838
3939# Use the trampoline script to run in docker.
40- build_file: " python-aiplatform/.kokoro/trampoline .sh"
40+ build_file: " python-aiplatform/.kokoro/trampoline_v2 .sh"
Original file line number Diff line number Diff line change @@ -37,4 +37,4 @@ gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/python-docs-samples"
3737gfile_resources: " /bigstore/cloud-devrel-kokoro-resources/trampoline"
3838
3939# Use the trampoline script to run in docker.
40- build_file: " python-aiplatform/.kokoro/trampoline .sh"
40+ build_file: " python-aiplatform/.kokoro/trampoline_v2 .sh"
Original file line number Diff line number Diff line change @@ -23,6 +23,4 @@ set -eo pipefail
2323# Enables `**` to include files nested inside sub-folders
2424shopt -s globstar
2525
26- cd github/python-aiplatform
27-
2826exec .kokoro/test-samples-impl.sh
Original file line number Diff line number Diff line change @@ -24,8 +24,6 @@ set -eo pipefail
2424# Enables `**` to include files nested inside sub-folders
2525shopt -s globstar
2626
27- cd github/python-aiplatform
28-
2927# Run periodic samples tests at latest release
3028if [[ $KOKORO_BUILD_ARTIFACTS_SUBDIR = * " periodic" * ]]; then
3129 # preserving the test runner implementation.
Original file line number Diff line number Diff line change 1616
1717# Add required env vars here.
1818required_envvars+=(
19- "STAGING_BUCKET"
20- "V2_STAGING_BUCKET"
2119)
2220
2321# Add env vars which are passed down into the container here.
2422pass_down_envvars+=(
23+ "NOX_SESSION"
24+ ###############
25+ # Docs builds
26+ ###############
2527 "STAGING_BUCKET"
2628 "V2_STAGING_BUCKET"
27- "NOX_SESSION"
29+ ##################
30+ # Samples builds
31+ ##################
32+ "INSTALL_LIBRARY_FROM_SOURCE"
33+ "RUN_TESTS_SESSION"
34+ "BUILD_SPECIFIC_GCLOUD_PROJECT"
35+ # Target directories.
36+ "RUN_TESTS_DIRS"
37+ # The nox session to run.
38+ "RUN_TESTS_SESSION"
2839)
2940
3041# Prevent unintentional override on the default image.
You can’t perform that action at this time.
0 commit comments