-
Notifications
You must be signed in to change notification settings - Fork 63
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
[CI] Enhance params env check script #567
[CI] Enhance params env check script #567
Conversation
Skipping CI for Draft Pull Request. |
This is expected - as it will be fixed by #565. |
Let's run the params-env workflow that checks values in params.env and commit.env files also on push event and also on dispatch_workflow.
Up to now, it only checked that variables used in params.env file are unique. This change checks also that the images referenced are unique as we don't expect any of the given variables to hold the same reference.
e8b721c
to
7ce69e6
Compare
Technically this one is ready for review. I just need to think whether we shall squash it to a one commit for easier cherry-picking to other branches or not 🙃 🙂 |
We can always implement the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wouldn't do this in bash... But it's already done in bash and it checks useful things.
/lgtm
What would you use instead of bash? |
Python; I think there is enough "logic" in the script for that. But ad I said, since it's in bash already, I'm fine with it. |
Since I don't change any functional code, for the record and as an exercise - review the test failures here:
In build log, see:
So the build failed at the point when it was being pushed to the image registry.
In test build log:
Looks like the expected service isn't listening on the image at expected URL and port.
Two tests failed - one is same as above, the second one is related to the previous one:
|
[APPROVALNOTIFIER] This PR is APPROVED Approval requirements bypassed by manually added approval. This pull-request has been approved by: jiridanek 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 |
Yeah, truth is that this is still 100times better readable for me and easier to maintain than a Python script; but I agree, it's just my problem. We can rewrite this to Python someday if we feel so. |
Nah, would not rewrite, not worth it. |
I will override the tests since are not related with the pr content, to continue with the merging. /override ci/prow/notebooks-e2e-tests |
@atheo89: Overrode contexts on behalf of atheo89: ci/prow/images, ci/prow/notebooks-e2e-tests In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
8461fce
into
opendatahub-io:main
/cherrypick 2024a 2023b 2023a |
@jiridanek: new pull request created: #575 In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
/cherrypick 2023b 2023a |
@jiridanek: #567 failed to apply on top of branch "2023b":
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
/cherrypick 2023a |
@jiridanek: #567 failed to apply on top of branch "2023a":
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
More info as description of each commit.
https://issues.redhat.com/browse/RHOAIENG-8812
Description
How Has This Been Tested?
In the root of the repository, run:
We should backport this to relevant branches upstream and downstream.