Merge pull request #23202 from ixdy/jenkins-test-go-gopath

Auto commit by PR queue bot
This commit is contained in:
k8s-merge-robot 2016-03-25 04:23:39 -07:00
commit 548cfa68ca

View File

@ -26,18 +26,9 @@ set -o xtrace
export PATH=${GOPATH}/bin:${PWD}/third_party/etcd:/usr/local/go/bin:${PATH} export PATH=${GOPATH}/bin:${PWD}/third_party/etcd:/usr/local/go/bin:${PATH}
go get github.com/tools/godep go get github.com/tools/godep && godep version
go get github.com/jstemmer/go-junit-report go get github.com/jstemmer/go-junit-report
# godep v59+ has issues with our GOPATH munging, so pin to v58 for now.
# https://github.com/kubernetes/kubernetes/issues/23200
(
cd ${GOPATH}/src/github.com/tools/godep
git checkout v58
godep go install
)
godep version
# Enable the Go race detector. # Enable the Go race detector.
export KUBE_RACE=-race export KUBE_RACE=-race
# Disable coverage report # Disable coverage report
@ -50,6 +41,8 @@ export KUBE_TIMEOUT='-timeout 300s'
export KUBE_INTEGRATION_TEST_MAX_CONCURRENCY=4 export KUBE_INTEGRATION_TEST_MAX_CONCURRENCY=4
export LOG_LEVEL=4 export LOG_LEVEL=4
cd /go/src/k8s.io/kubernetes
./hack/build-go.sh ./hack/build-go.sh
godep go install ./... godep go install ./...
./hack/install-etcd.sh ./hack/install-etcd.sh