Merge pull request #10987 from wenjiaswe/functional-test-fix

functional: update go.etcd.io/etcd link and go image registry for func…
release-3.5
Gyuho Lee 2019-08-05 22:45:12 -07:00 committed by GitHub
commit 44a00a33ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 7 deletions

View File

@ -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 \
@ -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

View File

@ -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}"

View File

@ -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"