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

Add yq script #36

Merged
merged 5 commits into from
Mar 28, 2024
Merged

Conversation

tonyxrmdavidson
Copy link

This commit adds a bash script to test if YQ is installed and installs it if it isn't.

@openshift-ci openshift-ci bot requested review from nehachopra27 and tarilabs March 28, 2024 13:28
Copy link

openshift-ci bot commented Mar 28, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: tonyxrmdavidson

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@tonyxrmdavidson tonyxrmdavidson requested review from dhirajsb, rkubis and a team and removed request for tarilabs and nehachopra27 March 28, 2024 13:28
Copy link
Member

@tarilabs tarilabs left a comment

Choose a reason for hiding this comment

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

minor but

/lgtm

@@ -157,6 +158,7 @@ run_deployment_tests() {

# Main function for orchestrating deployments
main() {
./install_yq.sh
Copy link
Member

Choose a reason for hiding this comment

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

at line 32 in openshift-ci/scripts/install_yq.sh you "Call the function when the script is sourced".

you source it at line 9.

didn't understand why you need this one here?

Copy link
Author

Choose a reason for hiding this comment

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

You are correct Matteo, changing it now.

Copy link
Author

Choose a reason for hiding this comment

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

I think it might be easier to install yq via the openshift-ci deployment.

@openshift-ci openshift-ci bot removed the lgtm label Mar 28, 2024
Copy link
Member

@tarilabs tarilabs left a comment

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci openshift-ci bot added the lgtm label Mar 28, 2024
@openshift-merge-bot openshift-merge-bot bot merged commit 65cd8d8 into opendatahub-io:main Mar 28, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants