Skip to content

Commit

Permalink
Still build and push before running test, even if cluster is already …
Browse files Browse the repository at this point in the history
…running.
  • Loading branch information
lavalamp committed Jun 16, 2014
1 parent ea5cbd4 commit d3049e4
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions hack/e2e-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d3049e4

Please sign in to comment.