mirror of
https://github.com/kubevirt/kubevirt.core.git
synced 2026-03-26 19:03:16 +00:00
fix: Allow running make cluster-down when binaries are missing
Swap the order of commands in hack/e2e-setup.sh, so it becomes possible to run 'make cluster-down` when the kind/kubectl binaries are missing. Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
This commit is contained in:
2
Makefile
2
Makefile
@@ -6,7 +6,7 @@ cluster-up:
|
||||
|
||||
.PHONY: cluster-down
|
||||
cluster-down:
|
||||
hack/e2e-setup.sh --cleanup
|
||||
hack/e2e-setup.sh --install-kind --install-kubectl --cleanup
|
||||
|
||||
.PHONY: build-venv
|
||||
build-venv:
|
||||
|
||||
@@ -389,11 +389,6 @@ if [ "${ARGCOUNT}" -eq "0" ]; then
|
||||
OPT_CREATE_NAD=true
|
||||
fi
|
||||
|
||||
if [ "${OPT_CLEANUP}" == true ]; then
|
||||
cleanup
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if [ "${OPT_INSTALL_KIND}" == true ]; then
|
||||
install_kind
|
||||
fi
|
||||
@@ -402,6 +397,11 @@ if [ "${OPT_INSTALL_KUBECTL}" == true ]; then
|
||||
install_kubectl
|
||||
fi
|
||||
|
||||
if [ "${OPT_CLEANUP}" == true ]; then
|
||||
cleanup
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if [ "${OPT_CONFIGURE_INOTIFY_LIMITS}" == true ]; then
|
||||
configure_inotify_limits
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user