-
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
RHOAIENG-5092 - Validate Authorino Resources #1346
Merged
bdattoma
merged 2 commits into
red-hat-data-services:master
from
mattmahoneyrh:RHOAIENG-5092_Authorino_Resources
Apr 5, 2024
Merged
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
49 changes: 49 additions & 0 deletions
49
ods_ci/tests/Tests/100__deploy/130__operators/130__rhods_operator/141__authorino.robot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
*** Settings *** | ||
Documentation Test Cases to verify RHOAI operator integration with Authorino operator | ||
|
||
Library Collections | ||
Resource ../../../../Resources/OCP.resource | ||
Resource ../../../../Resources/ODS.robot | ||
Suite Setup Suite Setup | ||
Suite Teardown Suite Teardown | ||
|
||
|
||
*** Variables *** | ||
${OPERATOR_NS} ${OPERATOR_NAMESPACE} | ||
${RHOAI_OPERATOR_DEPLOYMENT_NAME} rhods-operator | ||
${DSCI_NAME} default-dsci | ||
${SERVICE_MESH_OPERATOR_NS} openshift-operators | ||
${SERVICE_MESH_OPERATOR_DEPLOYMENT_NAME} istio-operator | ||
${AUTHORINO_OPERATOR_NS} openshift-operators | ||
${AUTHORINO_OPERATOR_DEPLOYMENT_NAME} authorino-operator | ||
${AUTHORINO_CR_NS} redhat-ods-applications-auth-provider | ||
${AUTHORINO_CR_NAME} authorino | ||
|
||
${IS_PRESENT} 0 | ||
${IS_NOT_PRESENT} 1 | ||
|
||
|
||
*** Test Cases *** | ||
Validate Authorino Resources | ||
[Documentation] The purpose of this Test Case is to validate that Authorino resources have been created. | ||
[Tags] Operator Tier1 RHOAIENG-5092 | ||
|
||
# Validate that Authorino CR has been created | ||
Wait Until Keyword Succeeds 2 min 0 sec | ||
... Is Resource Present Authorino ${AUTHORINO_CR_NAME} ${AUTHORINO_CR_NS} ${IS_PRESENT} | ||
|
||
Check If Pod Exists ${AUTHORINO_CR_NS} authorino-resource ${FALSE} | ||
|
||
|
||
*** Keywords *** | ||
Suite Setup | ||
[Documentation] Suite Setup | ||
RHOSi Setup | ||
Wait Until Operator Ready ${SERVICE_MESH_OPERATOR_DEPLOYMENT_NAME} ${SERVICE_MESH_OPERATOR_NS} | ||
Wait Until Operator Ready ${RHOAI_OPERATOR_DEPLOYMENT_NAME} ${OPERATOR_NS} | ||
Wait Until Operator Ready ${AUTHORINO_OPERATOR_DEPLOYMENT_NAME} ${AUTHORINO_OPERATOR_NS} | ||
Wait For DSCI Ready State ${DSCI_NAME} ${OPERATOR_NS} | ||
|
||
Suite Teardown | ||
[Documentation] Suite Teardown | ||
RHOSi Teardown |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Check notice
Code scanning / Robocop
Variable '{{ name }}' is assigned but not used Note test