From 63d4000e97bc0bee706e0831c5b5015ea448e3ae Mon Sep 17 00:00:00 2001 From: Akihiro Suda Date: Mon, 15 May 2017 14:34:44 +0000 Subject: [PATCH] integration-cli-on-swarm/README.md: add a note about Docker->Moby Signed-off-by: Akihiro Suda --- Makefile | 2 +- hack/integration-cli-on-swarm/README.md | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 977091ba0d..14bf91308c 100644 --- a/Makefile +++ b/Makefile @@ -190,7 +190,7 @@ swagger-docs: ## preview the API documentation bfirsh/redoc:1.6.2 build-integration-cli-on-swarm: build ## build images and binary for running integration-cli on Swarm in parallel - @echo "Building hack/integration-cli-on-swarm" + @echo "Building hack/integration-cli-on-swarm (if build fails, please refer to hack/integration-cli-on-swarm/README.md)" go build -o ./hack/integration-cli-on-swarm/integration-cli-on-swarm ./hack/integration-cli-on-swarm/host @echo "Building $(INTEGRATION_CLI_MASTER_IMAGE)" docker build -t $(INTEGRATION_CLI_MASTER_IMAGE) hack/integration-cli-on-swarm/agent diff --git a/hack/integration-cli-on-swarm/README.md b/hack/integration-cli-on-swarm/README.md index 7366f72336..1cea52526a 100644 --- a/hack/integration-cli-on-swarm/README.md +++ b/hack/integration-cli-on-swarm/README.md @@ -38,6 +38,8 @@ Following environment variables are known to work in this step: - `BUILDFLAGS` - `DOCKER_INCREMENTAL_BINARY` +Note: during the transition into Moby Project, you might need to create a symbolic link `$GOPATH/src/github.com/docker/docker` to `$GOPATH/src/github.com/moby/moby`. + ### Step 2: Execute tests $ ./hack/integration-cli-on-swarm/integration-cli-on-swarm -replicas 40 -push-worker-image YOUR_REGISTRY.EXAMPLE.COM/integration-cli-worker:latest