-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support to uninstall odh-nightly from managed cluster #1421
Add support to uninstall odh-nightly from managed cluster #1421
Conversation
|
${return_code} ${output} Run And Return Rc And Output oc delete namespace ${OPERATOR_NAMESPACE} --ignore-not-found | ||
Verify Project Does Not Exists ${OPERATOR_NAMESPACE} | ||
IF "${OPERATOR_NAMESPACE}" != "openshift-marketplace" | ||
${return_code} ${output} Run And Return Rc And Output oc delete namespace ${OPERATOR_NAMESPACE} --ignore-not-found |
Check warning
Code scanning / Robocop
Line is too long ({{ line_length }}/{{ allowed_length }}) Warning
@@ -64,13 +64,19 @@ | |||
|
|||
Uninstall RHODS V2 | |||
[Documentation] Keyword to uninstall the version 2 of the RHODS operator in Self-Managed | |||
Log To Console message=Deleting DSC CR From Cluster | |||
${return_code} ${output} Run And Return Rc And Output |
Check warning
Code scanning / Robocop
Local variable '{{ name }}' is overwritten before usage Warning
@@ -64,13 +64,19 @@ | |||
|
|||
Uninstall RHODS V2 | |||
[Documentation] Keyword to uninstall the version 2 of the RHODS operator in Self-Managed | |||
Log To Console message=Deleting DSC CR From Cluster | |||
${return_code} ${output} Run And Return Rc And Output |
Check warning
Code scanning / Robocop
Local variable '{{ name }}' is overwritten before usage Warning
${return_code} ${output} Run And Return Rc And Output | ||
... oc delete datasciencecluster --all --ignore-not-found | ||
Should Be Equal As Integers ${return_code} 0 msg=Error deleting DataScienceCluster CR | ||
Log To Console message=Deleting DSCi CR From Cluster | ||
${return_code} ${output} Run And Return Rc And Output |
Check warning
Code scanning / Robocop
Local variable '{{ name }}' is overwritten before usage Warning
${return_code} ${output} Run And Return Rc And Output | ||
... oc delete datasciencecluster --all --ignore-not-found | ||
Should Be Equal As Integers ${return_code} 0 msg=Error deleting DataScienceCluster CR | ||
Log To Console message=Deleting DSCi CR From Cluster | ||
${return_code} ${output} Run And Return Rc And Output |
Check warning
Code scanning / Robocop
Local variable '{{ name }}' is overwritten before usage Warning
@@ -24,15 +24,23 @@ | |||
FAIL Provided test environment and install type combination is not supported | |||
END | |||
ELSE IF "${cluster_type}" == "managed" | |||
Set Global Variable ${SUB_NAME} addon-managed-odh | |||
Set Global Variable ${CATALOG_NAME} addon-managed-odh-catalog |
Check notice
Code scanning / Robocop
{{ set_variable_keyword }} can be replaced with VAR Note
@@ -24,15 +24,23 @@ | |||
FAIL Provided test environment and install type combination is not supported | |||
END | |||
ELSE IF "${cluster_type}" == "managed" | |||
Set Global Variable ${SUB_NAME} addon-managed-odh | |||
Set Global Variable ${CATALOG_NAME} addon-managed-odh-catalog | |||
#For managed cluster |
Check warning
Code scanning / Robocop
Missing blank space after comment character Warning
Set Global Variable ${CATALOG_NAME} addon-managed-odh-catalog | ||
#For managed cluster | ||
IF "${UPDATE_CHANNEL}" == "odh-nightlies" | ||
Set Global Variable ${OPERATOR_NAMESPACE} openshift-marketplace |
Check notice
Code scanning / Robocop
{{ set_variable_keyword }} can be replaced with VAR Note
#For managed cluster | ||
IF "${UPDATE_CHANNEL}" == "odh-nightlies" | ||
Set Global Variable ${OPERATOR_NAMESPACE} openshift-marketplace | ||
Set Global Variable ${SUB_NAME} rhoai-operator-dev |
Check notice
Code scanning / Robocop
{{ set_variable_keyword }} can be replaced with VAR Note
IF "${UPDATE_CHANNEL}" == "odh-nightlies" | ||
Set Global Variable ${OPERATOR_NAMESPACE} openshift-marketplace | ||
Set Global Variable ${SUB_NAME} rhoai-operator-dev | ||
Set Global Variable ${CATALOG_NAME} rhoai-catalog-dev |
Check notice
Code scanning / Robocop
{{ set_variable_keyword }} can be replaced with VAR Note
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Robot Results
|
No description provided.