mirror of https://github.com/k3s-io/k3s
Still build and push before running test, even if cluster is already running.
parent
ea5cbd44bb
commit
d3049e4d11
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue