mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 19:31:44 +00:00
Still build and push before running test, even if cluster is already running.
This commit is contained in:
parent
ea5cbd44bb
commit
d3049e4d11
@ -32,12 +32,15 @@ export CLOUDCFG="${KUBE_REPO_ROOT}/cluster/cloudcfg.sh"
|
|||||||
|
|
||||||
source "${KUBE_REPO_ROOT}/cluster/util.sh"
|
source "${KUBE_REPO_ROOT}/cluster/util.sh"
|
||||||
|
|
||||||
if [[ ${ALREADY_UP} -ne 1 ]]; then
|
# Build a release
|
||||||
# Build a release
|
$(dirname $0)/../release/release.sh
|
||||||
$(dirname $0)/../release/release.sh
|
|
||||||
|
|
||||||
|
if [[ ${ALREADY_UP} -ne 1 ]]; then
|
||||||
# Now bring a test cluster up with that release.
|
# Now bring a test cluster up with that release.
|
||||||
$(dirname $0)/../cluster/kube-up.sh
|
$(dirname $0)/../cluster/kube-up.sh
|
||||||
|
else
|
||||||
|
# Just push instead
|
||||||
|
$(dirname $0)/../cluster/kube-push.sh
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Detect the project into $PROJECT if it isn't set
|
# Detect the project into $PROJECT if it isn't set
|
||||||
|
Loading…
Reference in New Issue
Block a user