mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #34492 from AkihiroSuda/fix-integration-cli-on-swarm
Fix `make build-integration-cli-on-swarm`
This commit is contained in:
commit
07227a1227
2 changed files with 12 additions and 0 deletions
|
@ -33,6 +33,10 @@ run_test_integration() {
|
||||||
}
|
}
|
||||||
|
|
||||||
build_test_suite_binaries() {
|
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"
|
build_test_suite_binary ./integration-cli "test.main"
|
||||||
for dir in $integration_api_dirs; do
|
for dir in $integration_api_dirs; do
|
||||||
build_test_suite_binary "$dir" "test.main"
|
build_test_suite_binary "$dir" "test.main"
|
||||||
|
|
8
hack/make/build-integration-test-binary
Executable file
8
hack/make/build-integration-test-binary
Executable file
|
@ -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
|
Loading…
Reference in a new issue