Skip to content

Commit

Permalink
Add openstack_cleanup_all
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
weinimo committed Dec 11, 2024
1 parent 189e3dd commit 7b517f3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit 7b517f3

Please sign in to comment.