Skip to content

Commit

Permalink
Merge pull request #10988 from wenjiaswe/automated-cherry-pick-of-#10…
Browse files Browse the repository at this point in the history
…987-upstream-release-3.4

Automated cherry pick of #10987
  • Loading branch information
gyuho authored Aug 6, 2019
2 parents 4cead3c + cb4507d commit e09528a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions functional/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ RUN rm -rf ${GOROOT} \
&& mkdir -p ${GOPATH}/src ${GOPATH}/bin \
&& go version

RUN mkdir -p ${GOPATH}/src/github.com/etcd-io/etcd
ADD . ${GOPATH}/src/github.com/etcd-io/etcd
RUN mkdir -p ${GOPATH}/src/go.etcd.io/etcd
ADD . ${GOPATH}/src/go.etcd.io/etcd
ADD ./functional.yaml /functional.yaml

RUN go get -v github.com/etcd-io/gofail \
&& pushd ${GOPATH}/src/github.com/etcd-io/etcd \
RUN go get -v go.etcd.io/gofail \
&& pushd ${GOPATH}/src/go.etcd.io/etcd \
&& GO_BUILD_FLAGS="-v" ./build \
&& mkdir -p /bin \
&& cp ./bin/etcd /bin/etcd \
Expand All @@ -39,4 +39,4 @@ RUN go get -v github.com/etcd-io/gofail \
&& cp ./bin/etcd-tester /bin/etcd-tester \
&& go build -v -o /bin/benchmark ./tools/benchmark \
&& popd \
&& rm -rf ${GOPATH}/src/github.com/etcd-io/etcd
&& rm -rf ${GOPATH}/src/go.etcd.io/etcd
2 changes: 1 addition & 1 deletion functional/scripts/docker-local-agent.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,5 @@ docker run \
--rm \
--net=host \
--name ${AGENT_NAME} \
gcr.io/etcd-development/etcd-functional-tester:go${GO_VERSION} \
gcr.io/etcd-development/etcd-functional:go${GO_VERSION} \
/bin/bash -c "./bin/etcd-agent ${AGENT_ADDR_FLAG}"
2 changes: 1 addition & 1 deletion functional/scripts/docker-local-tester.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ docker run \
--rm \
--net=host \
--name tester \
gcr.io/etcd-development/etcd-functional-tester:go${GO_VERSION} \
gcr.io/etcd-development/etcd-functional:go${GO_VERSION} \
/bin/bash -c "./bin/etcd-tester --config ./functional.yaml"

0 comments on commit e09528a

Please sign in to comment.