diff --git a/hack/update-bazel.sh b/hack/update-bazel.sh index 5dcbc8c51cc..2992afb2ac9 100755 --- a/hack/update-bazel.sh +++ b/hack/update-bazel.sh @@ -80,6 +80,13 @@ if [[ $ret != 0 && $ret != 3 ]]; then exit 1 fi +# mark all ./test/integration/* targets as integration +# see comment above re: buildozer exit codes +buildozer -quiet 'add tags integration' '//test/integration/...:%go_test' && ret=$? || ret=$? +if [[ $ret != 0 && $ret != 3 ]]; then + exit 1 +fi + # we need to set this because gazelle doesn't support pkg-config, which would set this link option # see comment above re: buildozer exit codes buildozer -quiet 'set clinkopts select({"@io_bazel_rules_go//go/platform:linux":["-lseccomp",],"//conditions:default":[],})' //vendor/github.com/seccomp/libseccomp-golang:go_default_library && ret=$? || ret=$?