Skip to content
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

Milestone automation for PRs #26

Closed
enisoc opened this issue Oct 24, 2017 · 3 comments
Closed

Milestone automation for PRs #26

enisoc opened this issue Oct 24, 2017 · 3 comments
Labels
sig/release Categorizes an issue or PR as relevant to SIG Release.

Comments

@enisoc
Copy link
Member

enisoc commented Oct 24, 2017

@spiffxp @marun @jberkus

This is a tracker to discuss extending some form of the milestone automation we have for issues to apply to pull requests.

The milestone has a different meaning on issues and PRs during code freeze:

  • For issues, it means, "This is a release-blocking bug."
  • For PRs, it means, "This code change is ok to make during freeze."

Note that these criteria can be independent: A PR might be allowed during freeze if it's approved for the milestone, even if it has no issue (/approve no-issue). Also, a PR associated with an issue that's approved for the milestone is not necessarily making a code change that's permissible during freeze.

For this reason, I propose applying milestone automation separately to issues and PRs, without trying to cross-reference the milestone status of issues linked from PRs. SIGs will need to separately approve the problem (issue) and the particular solution (PR) for the milestone.

The automation for PRs will help us do things like remove everything but release-blockers (priority/critical-urgent) from the milestone upon entering code freeze. It also would help communicate milestone requirements to PR authors during slush and freeze.

@enisoc enisoc added this to Prioritized Backlog in Kubernetes 1.9 Oct 24, 2017
@spiffxp
Copy link
Member

spiffxp commented Oct 24, 2017

To make sure I understand, the GitHub queries for PR's suitable for merge would thus be:

status quo

  type:pr state:open repo:kubernetes/kubernetes 
  label:\"cncf-cla: yes\"
  label:lgtm 
  label:approved 
  -label:needs-ok-to-test
  -label:do-not-merge/hold 
  -label:do-not-merge/release-note-label-needed
  -label:do-not-merge/work-in-progress

code slush - all of the above, plus

  milestone:v1.9
  label:status/approved-for-milestone

code freeze - all of the above, plus

  label:priority/critical-urgent

Does this look right?

/cc @kubernetes/sig-testing-misc

@enisoc
Copy link
Member Author

enisoc commented Oct 31, 2017

@spiffxp That looks like what I had in mind.

@enisoc enisoc moved this from Prioritized Backlog to This Week in Kubernetes 1.9 Nov 6, 2017
@enisoc
Copy link
Member Author

enisoc commented Nov 17, 2017

Enabled in kubernetes/test-infra#5496.

@enisoc enisoc closed this as completed Nov 17, 2017
@enisoc enisoc moved this from This Week to Done in Kubernetes 1.9 Nov 17, 2017
@justaugustus justaugustus added the sig/release Categorizes an issue or PR as relevant to SIG Release. label Dec 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sig/release Categorizes an issue or PR as relevant to SIG Release.
Projects
No open projects
Development

No branches or pull requests

3 participants