-
Notifications
You must be signed in to change notification settings - Fork 26
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 support for $IQE_CJI_NAME to populate CJI_NAME when given #113
Add support for $IQE_CJI_NAME to populate CJI_NAME when given #113
Conversation
I am a bit unclear as to how to test this. I am going to try and create a test PR for policies-ui-backend where I overwrite the call to cji_smoke_test to use my updated version in my repo. I do not know if this will work, but I'll give it a try. |
I was able to test this a bit by adding a cli_smoke_test.sh that used the new env var to the policices-ui-backend repo and updating the call to cli_smoke_test.sh to use the local version. You can see the --cji-name getting added in the deploy cji command : https://ci.ext.devshift.net/job/RedHatInsights-policies-ui-backend-pr-check/712/console#:~:text=18%3A11%3A03%20%2B%2B%2B%20bonfire,hms%20%2D%2Dnamespace%20ephemeral%2Dhpcdxo |
85c44ba
to
d5495f5
Compare
Should it be |
@jrwho regarding your comment on |
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.
LGTM
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.
Please add some quotes, other than that LGTM
We are working on adding floorist plugin tests to the pr_check process for policies. We have a working implementation using 2 cji jobs but they are both named the same. We need to ability to overwrite the cji name via an environment variable. This is a pattern that is already done with several items inside of cji_smoke_test.sh . We just need to extend this functionality to CJI_NAME.