Skip to content

Commit 7b517f3

Browse files
committed
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.
1 parent 189e3dd commit 7b517f3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -747,6 +747,10 @@ openstack_cleanup: operator_namespace## deletes the operator, but does not clean
747747
oc delete catalogsource --all=true
748748
test -d ${OPERATOR_BASE_DIR}/baremetal-operator && make crc_bmo_cleanup || true
749749

750+
.PHONY: openstack_cleanup_all
751+
openstack_cleanup_all: openstack_cleanup nncp_cleanup namespace_cleanup ## deletes the operator and its resources
752+
@echo "Completed full cleanup."
753+
750754
.PHONY: openstack_repo
751755
openstack_repo: export REPO=${OPENSTACK_REPO}
752756
openstack_repo: export BRANCH=${OPENSTACK_BRANCH}

0 commit comments

Comments
 (0)