-
Notifications
You must be signed in to change notification settings - Fork 82
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
Test Case check for correct component images #1965
Test Case check for correct component images #1965
Conversation
...100__platform/0101__deploy/0104__operators/0104__rhods_operator/0114__component_images.robot
Fixed
Show fixed
Hide fixed
|
||
|
||
*** Test Cases *** | ||
Check For Correct Component Images |
Check warning
Code scanning / Robocop
Test case '{{ test_name }}' has too many keywords inside ({{ keyword_count }}/{{ max_allowed_count }}) Warning test
...100__platform/0101__deploy/0104__operators/0104__rhods_operator/0114__component_images.robot
Fixed
Show fixed
Hide fixed
...100__platform/0101__deploy/0104__operators/0104__rhods_operator/0114__component_images.robot
Fixed
Show fixed
Hide fixed
...100__platform/0101__deploy/0104__operators/0104__rhods_operator/0114__component_images.robot
Fixed
Show fixed
Hide fixed
Robot Results
|
Triggered /rhods-ci-pr-test/3398 |
...100__platform/0101__deploy/0104__operators/0104__rhods_operator/0114__component_images.robot
Outdated
Show resolved
Hide resolved
...100__platform/0101__deploy/0104__operators/0104__rhods_operator/0114__component_images.robot
Fixed
Show fixed
Hide fixed
...100__platform/0101__deploy/0104__operators/0104__rhods_operator/0114__component_images.robot
Fixed
Show fixed
Hide fixed
rhods-ci-pr-test/3417 passed succesfully |
...100__platform/0101__deploy/0104__operators/0104__rhods_operator/0114__component_images.robot
Outdated
Show resolved
Hide resolved
...100__platform/0101__deploy/0104__operators/0104__rhods_operator/0114__component_images.robot
Outdated
Show resolved
Hide resolved
[Documentation] The purpose is to enforce the check of correct component images on their deployments. | ||
[Tags] Operator RHOAIENG-12576 Smoke | ||
[Template] Check Image On Csv And Deployment | ||
codeflare codeflare-operator-manager odh_codeflare_operator_image |
Check warning
Code scanning / Robocop
Trailing whitespace at the end of line Warning test
[Tags] Operator RHOAIENG-12576 Smoke | ||
[Template] Check Image On Csv And Deployment | ||
codeflare codeflare-operator-manager odh_codeflare_operator_image | ||
modelregistry model-registry-operator-controller-manager odh_mlmd_grpc_server_image |
Check warning
Code scanning / Robocop
Trailing whitespace at the end of line Warning test
[Template] Check Image On Csv And Deployment | ||
codeflare codeflare-operator-manager odh_codeflare_operator_image | ||
modelregistry model-registry-operator-controller-manager odh_mlmd_grpc_server_image | ||
modelregistry model-registry-operator-controller-manager odh_model_registry_image |
Check warning
Code scanning / Robocop
Trailing whitespace at the end of line Warning test
modelregistry model-registry-operator-controller-manager odh_mlmd_grpc_server_image | ||
modelregistry model-registry-operator-controller-manager odh_model_registry_image | ||
trustyai trustyai-service-operator-controller-manager odh_trustyai_service_operator_image | ||
ray kuberay-operator odh_kuberay_operator_controller_image |
Check warning
Code scanning / Robocop
Line is too long ({{ line_length }}/{{ allowed_length }}) Warning test
kueue kueue-controller-manager odh_kueue_controller_image | ||
workbenches odh-notebook-controller-manager odh_notebook_controller_image | ||
workbenches notebook-controller-deployment odh_kf_notebook_controller_image | ||
dashboard ${DASHBOARD_DEPLOYMENT_NAME} odh_dashboard_image |
Check warning
Code scanning / Robocop
Trailing whitespace at the end of line Warning test
workbenches notebook-controller-deployment odh_kf_notebook_controller_image | ||
dashboard ${DASHBOARD_DEPLOYMENT_NAME} odh_dashboard_image | ||
modelmeshserving modelmesh-controller odh_modelmesh_controller_image | ||
datasciencepipelines data-science-pipelines-operator-controller-manager odh_data_science_pipelines_operator_controller_image |
Check warning
Code scanning / Robocop
Line is too long ({{ line_length }}/{{ allowed_length }}) Warning test
[Arguments] ${component} ${deployment_name} ${image} | ||
|
||
${rc} ${managementState}= Run And Return Rc And Output | ||
... oc get DataScienceCluster default-dsc -o jsonpath="{.spec.components['${component}'].managementState}" |
Check warning
Code scanning / Robocop
Continuation marker should be aligned with starting row Warning test
IF "${managementState}" == "Managed" | ||
|
||
${rc} ${csv_image}= Run And Return Rc And Output | ||
... oc get ClusterServiceVersion -l ${OPERATOR_SUBSCRIPTION_LABEL} -n ${OPERATOR_NAMESPACE} -o jsonpath='{.items[?(@.kind=="ClusterServiceVersion")].spec.relatedImages[?(@.name=="${image}")].image}' |
Check warning
Code scanning / Robocop
Line is too long ({{ line_length }}/{{ allowed_length }}) Warning test
Should Not Be Empty ${csv_image} | ||
Log To Console IMAGE ON CSV IS ${csv_image} | ||
|
||
${rc} ${out}= Run And Return Rc And Output |
Check notice
Code scanning / Robocop
Variable '{{ name }}' is assigned but not used Note test
Log To Console IMAGE ON CSV IS ${csv_image} | ||
|
||
${rc} ${out}= Run And Return Rc And Output | ||
... oc get Deployment ${deployment_name} -n ${APPLICATIONS_NAMESPACE} -o jsonpath='{.spec.template.spec.containers[?(@.images=="${csv_image}")]}' |
Check warning
Code scanning / Robocop
Line is too long ({{ line_length }}/{{ allowed_length }}) Warning test
Quality Gate passedIssues Measures |
kudos to @FedeAlonso for his advice on how to implement RF Templates! |
rhods-ci-pr-test/3419 passed succesfully |
New Test Case to check for correct component images