-
Notifications
You must be signed in to change notification settings - Fork 85
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
gh: adding a freeze window workflow #1801
base: main
Are you sure you want to change the base?
gh: adding a freeze window workflow #1801
Conversation
Maintainers can enable/disable this workflow via web interface. When enabled all PRs will have at least one test failing. Signed-off-by: Beraldo Leal <[email protected]>
Hey Beraldo, I just want to fully understand the proposal so if it works out we can add it to the release process docs and there are a couple of questions/concerns I have:
|
The other approach I was thinking about is whether we could have a freeze label, and then a permanent job that checks if freeze, or WIP is labelled and that could be required (kata has this step up). I think using the gh api we could probably easily write workflows to label & unlabel all current PRs with this, but I don't have a good idea for how we would set it up so a new PR created during the freeze period would get labelled. I thought I would share in case others have thoughts though. |
Hi @stevenhorsman the idea here is that one test will be failing and the "Rebase and merge" button will be disabled. During the release period, admins could use their privileges to merge only PRs related to the release process. We could use this same PR as example. I guess one test is failing but I'm assuming you could merge it anyway, right? After the release is over, we could disable the workflow using the GH ui. The job would be permanent, the only difference is that it would be disabled for non-freeze periods. Having a job checking for a label all the time is an viable option as well, but this approach would be saving some CI hours/resources. |
Yes - I can make it a required check, but that means it will have to run even when we aren't in freeze and block otherwise (we have similar issues in kata-containers around this) |
Maintainers can enable/disable this workflow via web interface. When enabled all PRs will have at least one test failing.