mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 05:27:21 +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 ###
|
### Start Kubemark ###
|
||||||
if [[ "${USE_KUBEMARK:-}" == "true" ]]; then
|
if [[ "${USE_KUBEMARK:-}" == "true" ]]; then
|
||||||
export RUN_FROM_DISTRO=true
|
export RUN_FROM_DISTRO=true
|
||||||
|
./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=$?
|
||||||
if [[ "${E2E_PUBLISH_GREEN_VERSION:-}" == "true" && ${exitcode} == 0 && -n ${githash:-} ]]; then
|
if [[ "${E2E_PUBLISH_GREEN_VERSION:-}" == "true" && ${exitcode} == 0 && -n ${githash:-} ]]; then
|
||||||
|
@ -36,4 +36,4 @@ gcloud compute disks delete \
|
|||||||
--project "${PROJECT}" \
|
--project "${PROJECT}" \
|
||||||
--quiet \
|
--quiet \
|
||||||
--zone "${ZONE}" \
|
--zone "${ZONE}" \
|
||||||
"${MASTER_NAME}"-pd
|
"${MASTER_NAME}"-pd || true
|
||||||
|
Loading…
Reference in New Issue
Block a user