Initial vagrant setup and e2e testing support

This commit is contained in:
derekwaynecarr
2014-07-14 13:50:04 -04:00
parent 41eb15bcff
commit 69ae2fe4bb
43 changed files with 1268 additions and 370 deletions

View File

@@ -19,37 +19,12 @@
# exit on any error
set -e
source $(dirname $0)/util.sh
source $(dirname $0)/kube-env.sh
source $(dirname $0)/$KUBERNETES_PROVIDER/util.sh
# Detect the project into $PROJECT
detect-project
echo "Bringing down cluster using provider: $KUBERNETES_PROVIDER"
echo "Bringing down cluster"
gcutil deletefirewall \
--project ${PROJECT} \
--norespect_terminal_width \
--force \
${MASTER_NAME}-https &
verify-prereqs
kube-down
gcutil deleteinstance \
--project ${PROJECT} \
--norespect_terminal_width \
--force \
--delete_boot_pd \
--zone ${ZONE} \
${MASTER_NAME} &
gcutil deleteinstance \
--project ${PROJECT} \
--norespect_terminal_width \
--force \
--delete_boot_pd \
--zone ${ZONE} \
${MINION_NAMES[*]} &
gcutil deleteroute \
--project ${PROJECT} \
--force \
${MINION_NAMES[*]} &
wait
echo "Done"