Merge pull request #79506 from BenTheElder/auto-mark-integration

automatically tag tests in test/integration/* as integration
This commit is contained in:
Kubernetes Prow Robot 2019-06-28 10:03:38 -07:00 committed by GitHub
commit 9fbf364a13
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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=$?