Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
liswang89 committed Jan 8, 2025
1 parent 013f242 commit deb9d01
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
14 changes: 14 additions & 0 deletions ods_ci/run_interop.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,20 @@ yq -i '.S3.BUCKET_5.NAME="rhoai-dw"' "${TEST_VARIABLES_FILE}"
yq -i '.S3.BUCKET_5.REGION="us-east-1"' "${TEST_VARIABLES_FILE}"
yq -i '.S3.BUCKET_5.ENDPOINT="https://s3.amazonaws.com/"' "${TEST_VARIABLES_FILE}"

echo "Wait for the IDP users to sync"
sleep 100

echo "Performing oc login with IDP user"
username=$(yq eval '.TEST_USER.USERNAME' "${TEST_VARIABLES_FILE}")
password=$(yq eval '.TEST_USER.PASSWORD' "${TEST_VARIABLES_FILE}")
oc login "$OC_HOST" --username "${username}" --password "${password}" --insecure-skip-tls-verify=true
retVal=$?
if [ $retVal -ne 0 ]; then
echo "The oc login command seems to have failed"
echo "Please review the content of $TEST_VARIABLES_FILE"
exit "$retVal"
fi

echo "Performing oc login with cluster admin"
username=$(yq eval '.OCP_ADMIN_USER.USERNAME' "${TEST_VARIABLES_FILE}")
password=$(yq eval '.OCP_ADMIN_USER.PASSWORD' "${TEST_VARIABLES_FILE}")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ Verify RHODS Display Name and Version

Verify RHODS Notebooks Network Policies
[Documentation] Verifies that the network policies for RHODS Notebooks are present on the cluster
[Tags] Smoke
[Tags] Smoke Interop
... Tier1
... ODS-2045
Launch Notebook And Stop It
Expand Down

0 comments on commit deb9d01

Please sign in to comment.