Skip to content

Commit 1c862b1

Browse files
committed
Make bmo cleanup optioal with openstack cleanup
1 parent 51f401c commit 1c862b1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -518,6 +518,7 @@ else
518518
BMO_IRONIC_HOST ?= 172.16.1.10
519519
endif
520520
BMO_SETUP_ROUTE_REPLACE ?= true
521+
BMO_CLEANUP ?= true
521522

522523
# Swift
523524
SWIFT_IMG ?= quay.io/openstack-k8s-operators/swift-operator-index:${OPENSTACK_K8S_TAG}
@@ -798,7 +799,9 @@ openstack_cleanup: operator_namespace## deletes the operator, but does not clean
798799
oc delete subscription --all=true
799800
oc delete csv --all=true
800801
oc delete catalogsource --all=true
802+
ifeq ($(BMO_CLEANUP), true)
801803
test -d ${OPERATOR_BASE_DIR}/baremetal-operator && make crc_bmo_cleanup || true
804+
endif
802805

803806
.PHONY: openstack_repo
804807
openstack_repo: export REPO=${OPENSTACK_REPO}

0 commit comments

Comments
 (0)