Skip to content

Commit

Permalink
enhancement: include model registry namespace as part of the uninstal…
Browse files Browse the repository at this point in the history
…ling
  • Loading branch information
CFSNM committed Oct 1, 2024
1 parent fb48468 commit 677f750
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ods_ci/tasks/Resources/RHODS_OLM/uninstall/uninstall.robot
Original file line number Diff line number Diff line change
Expand Up @@ -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

Check warning

Code scanning / Robocop

Line is too long ({{ line_length }}/{{ allowed_length }}) Warning

Line is too long (126/120)

Check warning

Code scanning / Robocop

Local variable '{{ name }}' is overwritten before usage Warning

Local variable '${return_code}' is overwritten before usage

Check warning

Code scanning / Robocop

Local variable '{{ name }}' is overwritten before usage Warning

Local variable '${output}' is overwritten before usage
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}
Expand Down

0 comments on commit 677f750

Please sign in to comment.