Merge pull request #107738 from dims/pull-kubernetes-update-ci-job-needs-etcd-installed

pull-kubernetes-update ci job needs etcd installed
This commit is contained in:
Kubernetes Prow Robot 2022-01-24 15:41:15 -08:00 committed by GitHub
commit c72ed006fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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