Skip to content

Commit 323dd14

Browse files
Takashi Matsuoparthea
andauthored
testing: remove btlr binary (GoogleCloudPlatform#8809)
fixes GoogleCloudPlatform#8805 Co-authored-by: Anthonios Partheniou <partheniou@google.com>
1 parent 0e1c824 commit 323dd14

File tree

8 files changed

+27
-2
lines changed

8 files changed

+27
-2
lines changed

.kokoro/lint/common.cfg

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ build_file: "python-docs-samples/.kokoro/trampoline_v2.sh"
2929
# Download secrets from Cloud Storage.
3030
gfile_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
3336
action {
3437
define_artifacts {

.kokoro/python2.7/common.cfg

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ build_file: "python-docs-samples/.kokoro/trampoline_v2.sh"
3131
# Download secrets from Cloud Storage.
3232
gfile_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
3538
action {
3639
define_artifacts {

.kokoro/python3.10/common.cfg

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ build_file: "python-docs-samples/.kokoro/trampoline_v2.sh"
3131
# Download secrets from Cloud Storage.
3232
gfile_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
3538
action {
3639
define_artifacts {

.kokoro/python3.7/common.cfg

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ build_file: "python-docs-samples/.kokoro/trampoline_v2.sh"
3131
# Download secrets from Cloud Storage.
3232
gfile_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
3538
action {
3639
define_artifacts {

.kokoro/python3.8/common.cfg

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ build_file: "python-docs-samples/.kokoro/trampoline_v2.sh"
3131
# Download secrets from Cloud Storage.
3232
gfile_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
3538
action {
3639
define_artifacts {

.kokoro/python3.9/common.cfg

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ build_file: "python-docs-samples/.kokoro/trampoline_v2.sh"
3131
# Download secrets from Cloud Storage.
3232
gfile_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
3538
action {
3639
define_artifacts {

.kokoro/tests/run_tests.sh

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,13 @@ set -eo pipefail
1919
# Enables `**` to include files nested inside sub-folders
2020
shopt -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+
2229
DIFF_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

183190
RTN=$?
184191
cd "$ROOT"

testing/btlr

-10.4 MB
Binary file not shown.

0 commit comments

Comments
 (0)