mirror of
https://github.com/kubevirt/kubevirt.core.git
synced 2026-07-31 11:54:38 +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
|
.PHONY: cluster-down
|
||||||
cluster-down:
|
cluster-down:
|
||||||
hack/e2e-setup.sh --cleanup
|
hack/e2e-setup.sh --install-kind --install-kubectl --cleanup
|
||||||
|
|
||||||
.PHONY: build-venv
|
.PHONY: build-venv
|
||||||
build-venv:
|
build-venv:
|
||||||
|
|||||||
@@ -389,11 +389,6 @@ if [ "${ARGCOUNT}" -eq "0" ]; then
|
|||||||
OPT_CREATE_NAD=true
|
OPT_CREATE_NAD=true
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "${OPT_CLEANUP}" == true ]; then
|
|
||||||
cleanup
|
|
||||||
exit 0
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ "${OPT_INSTALL_KIND}" == true ]; then
|
if [ "${OPT_INSTALL_KIND}" == true ]; then
|
||||||
install_kind
|
install_kind
|
||||||
fi
|
fi
|
||||||
@@ -402,6 +397,11 @@ if [ "${OPT_INSTALL_KUBECTL}" == true ]; then
|
|||||||
install_kubectl
|
install_kubectl
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ "${OPT_CLEANUP}" == true ]; then
|
||||||
|
cleanup
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
if [ "${OPT_CONFIGURE_INOTIFY_LIMITS}" == true ]; then
|
if [ "${OPT_CONFIGURE_INOTIFY_LIMITS}" == true ]; then
|
||||||
configure_inotify_limits
|
configure_inotify_limits
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user