Skip to content

Commit

Permalink
Tag Tink Go's //integration/awskms:awskms_test target manual
Browse files Browse the repository at this point in the history
This excludes it from wildcard target patterns. Also update kokoro test scripts to include the target in the manual ones passed to run_bazel_tests.sh

PiperOrigin-RevId: 455415755
  • Loading branch information
morambro authored and copybara-github committed Jun 16, 2022
1 parent 86a7213 commit f565237
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 7 deletions.
5 changes: 4 additions & 1 deletion go/integration/awskms/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@ go_test(
"//testdata:credentials",
"@google_root_pem//file", #keep
],
tags = ["no_rbe"],
tags = [
"no_rbe",
"manual",
],
deps = [
":awskms",
"//aead",
Expand Down
9 changes: 6 additions & 3 deletions kokoro/gcp_ubuntu_per_language/go/bazel/run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,13 @@ echo "Using go binary from $(which go): $(go version)"

./kokoro/testutils/check_go_generated_files_up_to_date.sh go/

declare -a MANUAL_TARGETS
# Run manual tests which rely on test data only available via Bazel.
MANUAL_TARGETS=()
# Run manual tests that rely on test data only available via Bazel.
if [[ -n "${KOKORO_ROOT:-}" ]]; then
MANUAL_TARGETS=( "//integration/gcpkms:gcpkms_test" )
MANUAL_TARGETS+=(
"//integration/gcpkms:gcpkms_test"
"//integration/awskms:awskms_test"
)
fi
readonly MANUAL_TARGETS

Expand Down
9 changes: 6 additions & 3 deletions kokoro/macos_external/go/bazel/run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,13 @@ echo "Using go binary from $(which go): $(go version)"

./kokoro/testutils/check_go_generated_files_up_to_date.sh go/

declare -a MANUAL_TARGETS
# Run manual tests which rely on test data only available via Bazel.
MANUAL_TARGETS=()
# Run manual tests that rely on test data only available via Bazel.
if [[ -n "${KOKORO_ROOT:-}" ]]; then
MANUAL_TARGETS=( "//integration/gcpkms:gcpkms_test" )
MANUAL_TARGETS+=(
"//integration/gcpkms:gcpkms_test"
"//integration/awskms:awskms_test"
)
fi
readonly MANUAL_TARGETS

Expand Down

0 comments on commit f565237

Please sign in to comment.