fix tag_filter in build.sh (#17969)

This commit is contained in:
Paul Brauner 2023-12-05 10:05:17 +01:00 committed by GitHub
parent d79514d37a
commit 95bf44e923
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -55,7 +55,7 @@ fi
# Bazel test only builds targets that are dependencies of a test suite so do a full build first.
$bazel build //... \
--build_tag_filters "${tag_filter:1}" \
--build_tag_filters "${tag_filter}" \
--profile build-profile.json \
--experimental_profile_include_target_label \
--build_event_json_file build-events.json \
@ -94,8 +94,8 @@ start_postgresql
# Run the tests.
$bazel test //... \
--build_tag_filters "${tag_filter:1}" \
--test_tag_filters "${tag_filter:1}" \
--build_tag_filters "${tag_filter}" \
--test_tag_filters "${tag_filter}" \
--test_env "POSTGRESQL_HOST=${POSTGRESQL_HOST}" \
--test_env "POSTGRESQL_PORT=${POSTGRESQL_PORT}" \
--test_env "POSTGRESQL_USERNAME=${POSTGRESQL_USERNAME}" \