diff --git a/hack/jenkins/update-dockerized.sh b/hack/jenkins/update-dockerized.sh index 973dfd26658..435bd69cc24 100755 --- a/hack/jenkins/update-dockerized.sh +++ b/hack/jenkins/update-dockerized.sh @@ -30,11 +30,6 @@ retry() { "$@" } -# This script is intended to be run from kubekins-test container with a -# kubernetes repo mapped in. See k8s.io/test-infra/scenarios/kubernetes_verify.py - -export PATH=${GOPATH}/bin:${PWD}/third_party/etcd:/usr/local/go/bin:${PATH} - # Set artifacts directory export ARTIFACTS=${ARTIFACTS:-"${WORKSPACE}/artifacts"} # Produce a JUnit-style XML test report @@ -43,6 +38,9 @@ export KUBE_JUNIT_REPORT_DIR="${ARTIFACTS}" export LOG_LEVEL=4 cd "${GOPATH}/src/k8s.io/kubernetes" +source "${PWD}/hack/lib/init.sh" +kube::etcd::install +export PATH=${GOPATH}/bin:${PWD}/third_party/etcd:/usr/local/go/bin:${PATH} make update