benchmark-dockerized.sh: set KUBE_ROOT

See https://testgrid.k8s.io/sig-scalability-benchmarks#scheduler for an
example of this script failing.
This commit is contained in:
Adhityaa Chandrasekar 2020-08-05 20:28:34 +00:00
parent f7e3bcdec2
commit 1edb5a892a

View File

@ -31,6 +31,10 @@ retry() {
"$@"
}
# The root of the build/dist directory
KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/../..
export KUBE_ROOT
# Runs benchmark integration tests, producing pretty-printed results
# in ${WORKSPACE}/artifacts. This script can also be run within a
# kubekins-test container with a kubernetes repo mounted (at the path