mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +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 ###
|
||||
if [[ "${USE_KUBEMARK:-}" == "true" ]]; then
|
||||
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/start-kubemark.sh
|
||||
./test/kubemark/run-scalability-test.sh && exitcode=0 || exitcode=$?
|
||||
@ -855,6 +858,8 @@ if [[ "${USE_KUBEMARK:-}" == "true" ]]; then
|
||||
fi
|
||||
./test/kubemark/stop-kubemark.sh
|
||||
unset RUN_FROM_DISTRO
|
||||
NUM_MINIONS=${NUM_MINIONS_BKP}
|
||||
unset NUM_MINIONS_BKP
|
||||
fi
|
||||
|
||||
# TODO(zml): We have a bunch of legacy Jenkins configs that are
|
||||
|
Loading…
Reference in New Issue
Block a user