Skip to content

Commit

Permalink
Install godep as part of the Jenkins e2e job.
Browse files Browse the repository at this point in the history
The godep binary is needed to build the Ginkgo test runner for e2e
tests.
  • Loading branch information
ixdy committed Apr 30, 2015
1 parent 2c4ad94 commit 1145916
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion hack/jenkins/e2e.sh
Expand Up @@ -89,9 +89,13 @@ export CLUSTER_NAME=${E2E_CLUSTER_NAME}
export ZONE=${E2E_ZONE}
export KUBE_GKE_NETWORK=${E2E_NETWORK}

export PATH=${PATH}:/usr/local/go/bin
: ${GOPATH:="${WORKSPACE}/gopath"}
export GOPATH

export PATH=${GOPATH}/bin:${PATH}:/usr/local/go/bin
export KUBE_SKIP_CONFIRMATIONS=y


if [[ ${KUBE_RUN_FROM_OUTPUT:-} =~ ^[yY]$ ]]; then
echo "Found KUBE_RUN_FROM_OUTPUT=y; will use binaries from _output"
cp _output/release-tars/kubernetes*.tar.gz .
Expand Down Expand Up @@ -141,6 +145,9 @@ fi
# Have cmd/e2e run by goe2e.sh generate JUnit report in ${WORKSPACE}/junit*.xml
export E2E_REPORT_DIR=${WORKSPACE}

# Install godep (needed to build the Ginkgo runner)
go get github.com/tools/godep

### Set up ###
go run ./hack/e2e.go ${E2E_OPT} -v --down
go run ./hack/e2e.go ${E2E_OPT} -v --up
Expand Down

0 comments on commit 1145916

Please sign in to comment.