File tree Expand file tree Collapse file tree 8 files changed +27
-2
lines changed
Expand file tree Collapse file tree 8 files changed +27
-2
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,9 @@ build_file: "python-docs-samples/.kokoro/trampoline_v2.sh"
2929# Download secrets from Cloud Storage.
3030gfile_resources: " /bigstore/cloud-devrel-kokoro-resources/python-docs-samples"
3131
32+ # Access btlr binaries used in the tests
33+ gfile_resources: " /bigstore/cloud-devrel-kokoro-resources/btlr"
34+
3235# Copy results for Resultstore
3336action {
3437 define_artifacts {
Original file line number Diff line number Diff line change @@ -31,6 +31,9 @@ build_file: "python-docs-samples/.kokoro/trampoline_v2.sh"
3131# Download secrets from Cloud Storage.
3232gfile_resources: " /bigstore/cloud-devrel-kokoro-resources/python-docs-samples"
3333
34+ # Access btlr binaries used in the tests
35+ gfile_resources: " /bigstore/cloud-devrel-kokoro-resources/btlr"
36+
3437# Copy results for Resultstore
3538action {
3639 define_artifacts {
Original file line number Diff line number Diff line change @@ -31,6 +31,9 @@ build_file: "python-docs-samples/.kokoro/trampoline_v2.sh"
3131# Download secrets from Cloud Storage.
3232gfile_resources: " /bigstore/cloud-devrel-kokoro-resources/python-docs-samples"
3333
34+ # Access btlr binaries used in the tests
35+ gfile_resources: " /bigstore/cloud-devrel-kokoro-resources/btlr"
36+
3437# Copy results for Resultstore
3538action {
3639 define_artifacts {
Original file line number Diff line number Diff line change @@ -31,6 +31,9 @@ build_file: "python-docs-samples/.kokoro/trampoline_v2.sh"
3131# Download secrets from Cloud Storage.
3232gfile_resources: " /bigstore/cloud-devrel-kokoro-resources/python-docs-samples"
3333
34+ # Access btlr binaries used in the tests
35+ gfile_resources: " /bigstore/cloud-devrel-kokoro-resources/btlr"
36+
3437# Copy results for Resultstore
3538action {
3639 define_artifacts {
Original file line number Diff line number Diff line change @@ -31,6 +31,9 @@ build_file: "python-docs-samples/.kokoro/trampoline_v2.sh"
3131# Download secrets from Cloud Storage.
3232gfile_resources: " /bigstore/cloud-devrel-kokoro-resources/python-docs-samples"
3333
34+ # Access btlr binaries used in the tests
35+ gfile_resources: " /bigstore/cloud-devrel-kokoro-resources/btlr"
36+
3437# Copy results for Resultstore
3538action {
3639 define_artifacts {
Original file line number Diff line number Diff line change @@ -31,6 +31,9 @@ build_file: "python-docs-samples/.kokoro/trampoline_v2.sh"
3131# Download secrets from Cloud Storage.
3232gfile_resources: " /bigstore/cloud-devrel-kokoro-resources/python-docs-samples"
3333
34+ # Access btlr binaries used in the tests
35+ gfile_resources: " /bigstore/cloud-devrel-kokoro-resources/btlr"
36+
3437# Copy results for Resultstore
3538action {
3639 define_artifacts {
Original file line number Diff line number Diff line change @@ -19,6 +19,13 @@ set -eo pipefail
1919# Enables `**` to include files nested inside sub-folders
2020shopt -s globstar
2121
22+ # If on kokoro, add btlr to the path
23+ if [ -n " $KOKORO_GFILE_DIR " ]; then
24+ bltr_dir=" $KOKORO_GFILE_DIR /v0.0.3/"
25+ chmod +x " ${bltr_dir} " btlr
26+ export PATH=" $PATH :$bltr_dir "
27+ fi
28+
2229DIFF_FROM=" "
2330
2431# `--only-diff-main` will only run tests on project changes on the
@@ -176,9 +183,9 @@ btlr_args+=(
176183 " ${test_prog} "
177184)
178185
179- echo " testing/ btlr" " ${btlr_args[@]} "
186+ echo " btlr" " ${btlr_args[@]} "
180187
181- testing/ btlr " ${btlr_args[@]} "
188+ btlr " ${btlr_args[@]} "
182189
183190RTN=$?
184191cd " $ROOT "
You can’t perform that action at this time.
0 commit comments