mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
Stop existing Kubemark cluster before creating new one in Jenkins
This commit is contained in:
parent
14d9788c66
commit
e58aff001b
@ -814,6 +814,7 @@ fi
|
||||
### Start Kubemark ###
|
||||
if [[ "${USE_KUBEMARK:-}" == "true" ]]; then
|
||||
export RUN_FROM_DISTRO=true
|
||||
./test/kubemark/stop-kubemark.sh
|
||||
./test/kubemark/start-kubemark.sh
|
||||
./test/kubemark/run-scalability-test.sh && exitcode=0 || exitcode=$?
|
||||
if [[ "${E2E_PUBLISH_GREEN_VERSION:-}" == "true" && ${exitcode} == 0 && -n ${githash:-} ]]; then
|
||||
|
@ -36,4 +36,4 @@ gcloud compute disks delete \
|
||||
--project "${PROJECT}" \
|
||||
--quiet \
|
||||
--zone "${ZONE}" \
|
||||
"${MASTER_NAME}"-pd
|
||||
"${MASTER_NAME}"-pd || true
|
||||
|
Loading…
Reference in New Issue
Block a user