-
Notifications
You must be signed in to change notification settings - Fork 719
Only enable FreeBSD private runner on demand #11146
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
Conversation
59885cc
to
ef31fc6
Compare
ef31fc6
to
c314072
Compare
How do we plan to manage this new variable? I.e. who and when will flip it? Will we get the same problem when sometime sets it to 1 for some reason? |
Well, the variable is set to 1. But it is set in this repository only, so any CI that runs on a fork is unaffected. Forks do not inherit repository variables. |
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.
Sounds good, let's try it. Thanks!
Can this be merged without the mergebot? |
@hasufell we can skip the delay by putting the appropriate label but there's no reason to not use the bot I think. Let me set the label. |
Would there be a suitable place to document which repository variables might be set by forks in order to influence CI? |
I don't think forks would want to set this variable, unless they have the means to replicate a private FreeBSD runner, which is no easy task and cannot be done with just the official GitHub agent. |
That would be CONTRIBUTING.md. There's already a beefy section (with subsections) about PRs, for instance. |
I'm afraid I don't think I will write an entire section on how to set up a private FreeBSD runner in the cabal contribution docs. |
I don't think that's what Matt suggested. I think the suggestion is to document the repository variable: its mere existence and purpose. It could go into a broader description of how the new workflow is set up, as there's still frustratingly little documentation around it. I think you were going to update the release wiki page: that would be very welcome. And the variable, I agree with you, will be of little interest to outside contributors. But it'd be good to mention it in the documentation for maintainers (so, the wiki), perhaps: just on principle of less magical undocumented things in the big chunk of YAML that we just merged for the new CI workflow. The label "run release ci" should be documented somewhere as well: it took me a minute to figure it out when I was looking in the freebsd issue (and I'm still not sure why the release CI seems to try running on PRs without the label). This feels like something closer to the user-visible surface, so maybe CONTRIBUTING.md isn't a bad plae. |
Could we please expedite the merge, say by adding the [merge delay passed] label? |
@ulysses4ever I don't understand how this is relevant to normal contributors. This is a release management matter only and I was instructed to add such information to the wiki. Normal PRs should never run this workflow. |
@hasufell I agree. Let's update the release wiki? |
@philderbeast this is already done by the "priority: high" label. As to why it's not merged yet, I'll have to double check when I'm at my computer. Maybe the review requested from Brandon stops the bot. Maybe something else. But we should be confident that all normal requirements are satisfied (apart from the 2-day delay requirement, which the priority label lifts). |
Nobody set Eventually the right place to document this will be the documentation added by #10503. |
Fixes #11145