Skip to content
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

Change pipeline in order to make the test also working on airgap environment #1973

Merged
merged 2 commits into from
Oct 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Suite Teardown RHOSi Teardown


*** Variables ***
${URL_TEST_PIPELINE_RUN_YAML}= https://raw.githubusercontent.com/opendatahub-io/data-science-pipelines-operator/main/tests/resources/test-pipeline-run.yaml # robocop: disable:line-too-long
${URL_TEST_PIPELINE_RUN_YAML}= https://raw.githubusercontent.com/red-hat-data-services/ods-ci/refs/heads/master/ods_ci/tests/Resources/Files/pipeline-samples/v2/cache-disabled/pip_index_url/hello_world_pip_index_url_compiled.yaml # robocop: disable:line-too-long


*** Test Cases ***
Expand All @@ -25,12 +25,15 @@ Verify Admin Users Can Create And Run a Data Science Pipeline Using The Api
... the pipeline resources.
[Tags] Sanity ODS-2083
End To End Pipeline Workflow Via Api ${OCP_ADMIN_USER.USERNAME} ${OCP_ADMIN_USER.PASSWORD} pipelinesapi1
[Teardown] Projects.Delete Project Via CLI By Display Name pipelinesapi1


Verify Regular Users Can Create And Run a Data Science Pipeline Using The Api
[Documentation] Creates, runs pipelines with regular user. Double check the pipeline result and clean
... the pipeline resources.
[Tags] Tier1 ODS-2677
End To End Pipeline Workflow Via Api ${TEST_USER.USERNAME} ${TEST_USER.PASSWORD} pipelinesapi2
[Teardown] Projects.Delete Project Via CLI By Display Name pipelinesapi2

Verify Ods Users Can Do Http Request That Must Be Redirected to Https
[Documentation] Verify Ods Users Can Do Http Request That Must Be Redirected to Https
Expand Down Expand Up @@ -82,12 +85,11 @@ End To End Pipeline Workflow Via Api
${status} = Login And Wait Dsp Route ${username} ${password} ${project}
Should Be True ${status} == 200 Could not login to the Data Science Pipelines Rest API OR DSP routing is not working # robocop: disable:line-too-long
Setup Client ${username} ${password} ${project}
${pipeline_param} = Create Dictionary recipient=integration_test
${pipeline_param} = Create Dictionary
Dismissed Show dismissed Hide dismissed
${run_id} = Import Run Pipeline From Url pipeline_url=${URL_TEST_PIPELINE_RUN_YAML} pipeline_params=${pipeline_param} # robocop: disable:line-too-long
${run_status} = Check Run Status ${run_id}
Should Be Equal As Strings ${run_status} SUCCEEDED Pipeline run doesn't have a status that means success. Check the logs # robocop: disable:line-too-long
DataSciencePipelinesKfp.Delete Run ${run_id}
[Teardown] Projects.Delete Project Via CLI By Display Name ${project}

Double Check If DSPA Was Created
[Documentation] Double check if DSPA was created
Expand Down
Loading