mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 04:33:26 +00:00
Merge pull request #15147 from gmarek/fix-jenkins
Unset NUM_MINIONS variable in Kubemark Jenkins run, to allow use of Kubemark default
This commit is contained in:
commit
fbd0c93eac
@ -845,6 +845,9 @@ fi
|
|||||||
### Start Kubemark ###
|
### Start Kubemark ###
|
||||||
if [[ "${USE_KUBEMARK:-}" == "true" ]]; then
|
if [[ "${USE_KUBEMARK:-}" == "true" ]]; then
|
||||||
export RUN_FROM_DISTRO=true
|
export RUN_FROM_DISTRO=true
|
||||||
|
NUM_MINIONS_BKP=${NUM_MINIONS}
|
||||||
|
# We need to unset NUM_MINIONS to be able to use kubemark default settings.
|
||||||
|
unset NUM_MINIONS
|
||||||
./test/kubemark/stop-kubemark.sh
|
./test/kubemark/stop-kubemark.sh
|
||||||
./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=$?
|
||||||
@ -855,6 +858,8 @@ if [[ "${USE_KUBEMARK:-}" == "true" ]]; then
|
|||||||
fi
|
fi
|
||||||
./test/kubemark/stop-kubemark.sh
|
./test/kubemark/stop-kubemark.sh
|
||||||
unset RUN_FROM_DISTRO
|
unset RUN_FROM_DISTRO
|
||||||
|
NUM_MINIONS=${NUM_MINIONS_BKP}
|
||||||
|
unset NUM_MINIONS_BKP
|
||||||
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
Block a user