From 677f750b7e2737a25d2d42585234f0232a8f75cd Mon Sep 17 00:00:00 2001 From: cesar Date: Tue, 1 Oct 2024 12:31:02 +0200 Subject: [PATCH] enhancement: include model registry namespace as part of the uninstalling --- ods_ci/tasks/Resources/RHODS_OLM/uninstall/uninstall.robot | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ods_ci/tasks/Resources/RHODS_OLM/uninstall/uninstall.robot b/ods_ci/tasks/Resources/RHODS_OLM/uninstall/uninstall.robot index e167891cd..355d1e1f2 100644 --- a/ods_ci/tasks/Resources/RHODS_OLM/uninstall/uninstall.robot +++ b/ods_ci/tasks/Resources/RHODS_OLM/uninstall/uninstall.robot @@ -110,7 +110,10 @@ Uninstall RHODS V2 ${return_code} ${output} Run And Return Rc And Output ... oc delete operatorgroup --all -n ${OPERATOR_NAMESPACE} --ignore-not-found Should Be Equal As Integers ${return_code} 0 msg=Error deleting operatorgroup - Log To Console message=Deleting Operator and it's associate namepsace + Log To Console message=Deleting model registry associated namespace ${MODEL_REGISTRY_NAMESPACE} + ${return_code} ${output} Run And Return Rc And Output oc delete ns ${MODEL_REGISTRY_NAMESPACE} --ignore-not-found + Verify Project Does Not Exists ${MODEL_REGISTRY_NAMESPACE} + Log To Console message=Deleting Operator and it's associate namespace ${return_code} ${output} Run And Return Rc And Output oc delete ns -l opendatahub.io/generated-namespace --ignore-not-found Verify Project Does Not Exists ${APPLICATIONS_NAMESPACE} Verify Project Does Not Exists ${MONITORING_NAMESPACE}