From 7b517f3bb195c842e4a91f9a4e87b2ee072ce1e5 Mon Sep 17 00:00:00 2001 From: Tom Weininger Date: Wed, 11 Dec 2024 11:22:18 +0100 Subject: [PATCH] Add openstack_cleanup_all Goal of this new make target is to clean up everything that may be necessary in order to re-run `make openstack` successfully if it failed before. --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 2fa284f..fd5109a 100644 --- a/Makefile +++ b/Makefile @@ -747,6 +747,10 @@ openstack_cleanup: operator_namespace## deletes the operator, but does not clean oc delete catalogsource --all=true test -d ${OPERATOR_BASE_DIR}/baremetal-operator && make crc_bmo_cleanup || true +.PHONY: openstack_cleanup_all +openstack_cleanup_all: openstack_cleanup nncp_cleanup namespace_cleanup ## deletes the operator and its resources + @echo "Completed full cleanup." + .PHONY: openstack_repo openstack_repo: export REPO=${OPENSTACK_REPO} openstack_repo: export BRANCH=${OPENSTACK_BRANCH}