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

Build ODS-CI test image for release 2.16 #2131

Open
wants to merge 1 commit into
base: releases/2.16.0
Choose a base branch
from

Conversation

liswang89
Copy link

No description provided.

Copy link
Contributor

Robot Results

✅ Passed ❌ Failed ⏭️ Skipped Total Pass %
586 0 0 586 100

Copy link
Contributor

@bdattoma bdattoma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pls don't remove the code for OCM. This script is supposed to work with both options

function update_test_config(){
echo "Update test config file..."

AWS_SHARED_CREDENTIALS_FILE="${CLUSTER_PROFILE_DIR}/.awscred"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this would work only for the interop pipeline case, while this script is generic. You can add the feature if you want, but it'd be better to put it under an option of the script/env variable

validate_user_config_file
check_installation
install_identity_provider
update_test_config

echo "Performing oc login using TEST username and password"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the login is performed earlier in this script with htp user. Why do we need to log in with a different one?

@liswang89 liswang89 force-pushed the release-2.16 branch 5 times, most recently from cbc7cc2 to ea315bc Compare December 11, 2024 12:49
Copy link

sonarcloud bot commented Dec 11, 2024

@@ -0,0 +1,48 @@
!/bin/bash
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
!/bin/bash
#!/bin/bash

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@omrirh
Copy link
Contributor

omrirh commented Dec 12, 2024

@bdattoma
Copy link
Contributor

Should we set USE_OCM_IDP=0 ? See error message in job: https://prow.ci.openshift.org/view/gs/test-platform-results/pr-logs/pull/openshift_release/58481/rehearse-58481-periodic-ci-red-hat-data-services-ods-ci-master-rhoai2.16-ocp4.18-lp-interop-rhoai-interop-aws/1867044695671050240#1:build-log.txt%3A98

yes, you should set that env variable to zero in your job.

And how it is consumed by install_idp.sh:

it's an Environment variable, so that's how install_idp.sh consumes it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants