Still build and push before running test, even if cluster is already running.

pull/6/head
Daniel Smith 2014-06-15 23:39:24 -07:00
parent ea5cbd44bb
commit d3049e4d11
1 changed files with 6 additions and 3 deletions

View File

@ -32,12 +32,15 @@ export CLOUDCFG="${KUBE_REPO_ROOT}/cluster/cloudcfg.sh"
source "${KUBE_REPO_ROOT}/cluster/util.sh"
if [[ ${ALREADY_UP} -ne 1 ]]; then
# Build a release
$(dirname $0)/../release/release.sh
# Build a release
$(dirname $0)/../release/release.sh
if [[ ${ALREADY_UP} -ne 1 ]]; then
# Now bring a test cluster up with that release.
$(dirname $0)/../cluster/kube-up.sh
else
# Just push instead
$(dirname $0)/../cluster/kube-push.sh
fi
# Detect the project into $PROJECT if it isn't set