Stop existing Kubemark cluster before creating new one in Jenkins

This commit is contained in:
gmarek 2015-10-02 10:32:44 +02:00
parent 14d9788c66
commit e58aff001b
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -36,4 +36,4 @@ gcloud compute disks delete \
--project "${PROJECT}" \
--quiet \
--zone "${ZONE}" \
"${MASTER_NAME}"-pd
"${MASTER_NAME}"-pd || true