diff --git a/hack/make/.integration-test-helpers b/hack/make/.integration-test-helpers index 288be863ce..aaeec8706c 100644 --- a/hack/make/.integration-test-helpers +++ b/hack/make/.integration-test-helpers @@ -33,6 +33,10 @@ run_test_integration() { } build_test_suite_binaries() { + if [ $DOCKER_INTEGRATION_TESTS_VERIFIED ]; then + echo "Skipping building test binaries; as DOCKER_INTEGRATION_TESTS_VERIFIED is set" + return + fi build_test_suite_binary ./integration-cli "test.main" for dir in $integration_api_dirs; do build_test_suite_binary "$dir" "test.main" diff --git a/hack/make/build-integration-test-binary b/hack/make/build-integration-test-binary new file mode 100755 index 0000000000..ad3e8c2123 --- /dev/null +++ b/hack/make/build-integration-test-binary @@ -0,0 +1,8 @@ +#!/usr/bin/env bash +# required by `make build-integration-cli-on-swarm` +set -e + +source "${MAKEDIR}/.go-autogen" +source hack/make/.integration-test-helpers + +build_test_suite_binaries