diff --git a/build/root/Makefile b/build/root/Makefile index 401b8c44f45..451716b938d 100644 --- a/build/root/Makefile +++ b/build/root/Makefile @@ -523,6 +523,20 @@ bazel-test: bazel test --test_tag_filters=-integration --flaky_test_attempts=3 //cmd/... //pkg/... //federation/... //plugin/... //third_party/... //hack/... //hack:verify-all //vendor/k8s.io/... endif +ifeq ($(PRINT_HELP),y) +define BAZEL_TEST_INTEGRATION_HELP_INFO +# Integration test with bazel +# +# Example: +# make bazel-test-integration +endef +bazel-test-integration: + @echo "$$BAZEL_TEST_INTEGRATION_HELP_INFO" +else +bazel-test-integration: + bazel test //test/integration/... +endif + ifeq ($(PRINT_HELP),y) define BAZEL_BUILD_HELP_INFO # Build release tars with bazel