-
Notifications
You must be signed in to change notification settings - Fork 39
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: don't run ee tests when license unavailable #245
Conversation
Codecov ReportBase: 53.31% // Head: 53.31% // No change to project coverage 👍
Additional details and impacted files@@ Coverage Diff @@
## main #245 +/- ##
=======================================
Coverage 53.31% 53.31%
=======================================
Files 46 46
Lines 4183 4183
=======================================
Hits 2230 2230
Misses 1478 1478
Partials 475 475
Flags with carried forward coverage won't be shown. Click here to find out more. Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
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.
Is there a way you can skip this at the job level? I expect you can't check the env value, because the job is responsible for setting it, but you may be able to evaluate secrets.PULP_PASSWORD == ''
directly, or move the license step into separate job and then test/use its output
As per my comment in the code : I've tried to do something similar but failed because the env and secrets context are not available at that level. We can do what you suggest sure. Feel free to submit a proposal :) |
#247 takes the separate job route. However, did we plan to make the "all enterprise" job a required check? I don't think there's a way to make that simultaneously succeed if all test jobs succeed or if all test jobs are skipped. |
I'm afk now but this works AFAIR (i.e if you skip all steps then the result is success) |
Closed in favor of #247 |
Since we can't reliably and securely give outside contributors access to our secrets we can't run the EE tests for those PRs.
This PR will allow us to accept patches contributed from outside of our org without enterprise tests failing.