mirror of https://github.com/k3s-io/k3s
Fix Kubemark on Jenkins
parent
cff6dcedd7
commit
a1e0ce8972
|
@ -752,6 +752,7 @@ fi
|
||||||
|
|
||||||
### Start Kubemark ###
|
### Start Kubemark ###
|
||||||
if [[ "${USE_KUBEMARK:-}" == "true" ]]; then
|
if [[ "${USE_KUBEMARK:-}" == "true" ]]; then
|
||||||
|
export RUN_FROM_DISTRO=true
|
||||||
./test/kubemark/start-kubemark.sh
|
./test/kubemark/start-kubemark.sh
|
||||||
./test/kubemark/run-scalability-test.sh && exitcode=0 || exitcode=$?
|
./test/kubemark/run-scalability-test.sh && exitcode=0 || exitcode=$?
|
||||||
if [[ "${E2E_PUBLISH_GREEN_VERSION:-}" == "true" && ${exitcode} == 0 && -n ${githash:-} ]]; then
|
if [[ "${E2E_PUBLISH_GREEN_VERSION:-}" == "true" && ${exitcode} == 0 && -n ${githash:-} ]]; then
|
||||||
|
@ -760,6 +761,7 @@ if [[ "${USE_KUBEMARK:-}" == "true" ]]; then
|
||||||
gsutil cp ${WORKSPACE}/githash.txt gs://kubernetes-release/ci/latest-green.txt
|
gsutil cp ${WORKSPACE}/githash.txt gs://kubernetes-release/ci/latest-green.txt
|
||||||
fi
|
fi
|
||||||
./test/kubemark/stop-kubemark.sh
|
./test/kubemark/stop-kubemark.sh
|
||||||
|
unset RUN_FROM_DISTRO
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# TODO(zml): We have a bunch of legacy Jenkins configs that are
|
# TODO(zml): We have a bunch of legacy Jenkins configs that are
|
||||||
|
|
Loading…
Reference in New Issue