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

OWNERS: update to use new labels #2444

Merged
merged 7 commits into from
Aug 3, 2021

Conversation

spiffxp
Copy link
Member

@spiffxp spiffxp commented Aug 2, 2021

Related:

This PR is primarily about using the new labels defined in kubernetes/test-infra#23084 to help us better triage incoming PRs

But of course, all of the commits have scarily vague "update OWNERS" messages. I added details in the commits to explain what else was going on, but I'll drop a review on this pointing out specifics

spiffxp added 7 commits August 2, 2021 13:16
Ensure the are OWNERS files that will auto-label PRs with
area/apps/{foo} for every apps/{foo} subdirectory

For apps that didn't have OWNERS, I took arbitrary guesses based on
group membership in the corresponding RBAC group, or knowledge of who
had been merging PRs related to the apps recently.

I also dropped the "no_parent_owners" option for k8s.io since the app is
now auto-deployed on PR merge.
Ensure OWNERS files exist to auto-label PRs in high-traffic or
high-value directories.

For directories that didn't have OWNERS, I made educated guesses:
- things related to artifact promotion got a similar set of
  approvers/reviewers as uesd by the image manifests for
  container-image-promoter
- namespaces is sorta apps-centric, same people
I _think_ the code-of-conduct and steering committee OWNERS files were
invalid, I'm surprised we didn't get a presubmit failure or
invalid-owners label for them before.
@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Aug 2, 2021
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: spiffxp

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 2, 2021
@k8s-ci-robot k8s-ci-robot added area/access Define who has access to what via IAM bindings, role bindings, policy, etc. area/artifacts Issues or PRs related to the hosting of release artifacts for subprojects area/audit Audit of project resources, audit followup issues, code in audit/ area/apps/cert-manager cert-manager, code in apps/cert-manager/ area/terraform Terraform modules, testing them, writing more of them, code in infra/gcp/clusters/ size/L Denotes a PR that changes 100-499 lines, ignoring generated files. area/prow Setting up or working with prow in general, prow.k8s.io, prow build clusters area/release-eng Issues or PRs related to the Release Engineering subproject sig/cluster-lifecycle Categorizes an issue or PR as relevant to SIG Cluster Lifecycle. sig/contributor-experience Categorizes an issue or PR as relevant to SIG Contributor Experience. sig/release Categorizes an issue or PR as relevant to SIG Release. labels Aug 2, 2021
@spiffxp
Copy link
Member Author

spiffxp commented Aug 2, 2021

/hold
for comment

@k8s-ci-robot k8s-ci-robot added sig/security Categorizes an issue or PR as relevant to SIG Security. sig/testing Categorizes an issue or PR as relevant to SIG Testing. wg/k8s-infra wg/reliability Categorizes an issue or PR as relevant to WG Reliability do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. labels Aug 2, 2021
Copy link
Member Author

@spiffxp spiffxp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Annotated specific changes that weren't just "changed/added labels"

- munnerz
- munnerz
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So, one change that happened a lot was trying to make formatting consistent:

  • deindent list items
  • newline between approver/reviewer/emeritus_approver lists (and put them in that order)

Comment on lines -3 to -7
# deploying this is still a manual process, so restricting
# to approvers who are comfortable doing so
options:
no_parent_owners: true

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now that we have jobs auto-deploy k8s.io changes on PR merge, this is no longer needed 🎉

Comment on lines -4 to +5
- wg-k8s-infra-leads
- ameukam
- spiffxp
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AFAIK @ameukam and I are the only two who have domain expertise on wg-k8s-infra's use of this, I'd rather signal that to the other leads

Comment on lines +7 to +8
emeritus_approvers:
- bartsmykla
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AFAIK we haven't seen much approval from this contributor over the last while so it's time to emeritus

Comment on lines -9 to +15
- area/prow/bump
- sig/testing
- area/apps/prow
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Formatting change: for apps, reorder so the "owning group" label is first, and the "app-specific" label is second

Comment on lines +3 to +6
approvers:
- ameukam
- spiffxp
- thockin
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AFAIK these are the only people who have reviewed the automated PRs here

Comment on lines +22 to +23
reviewers:
- nikhita
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nikhita has helped get us on the path to delegated approval

committee-code-of-conduct
- committee-code-of-conduct
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure this OWNERS file ever worked, so I converted to list items to fix

Comment on lines +45 to +46
# be explicit about looking for $(pwd)/policy
--policy "${REPO_ROOT}/policy"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To match the new area/policy label, I relocated policies/* to policy/ which should just work by default, but I felt like staying explicit was better

Comment on lines +3 to +9
approvers:
- cip-approvers
- wg-k8s-infra-leads
reviewers:
- cip-reviewers
- release-engineering-approvers
- release-engineering-reviewers
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I used k8s.gcr.io/images/k8s-staging-artifact-promoter/OWNERS as the basis for other CIP-related stuff

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM for CIP!

@spiffxp
Copy link
Member Author

spiffxp commented Aug 2, 2021

/uncc @chases2 @hasheddan
/cc @cblecker @nikhita
sig-contribex owners
/cc @ameukam @dims
wg-k8s-infra owners
/cc @listx @cpanato @puerco
CIP / release-engineering owners

@k8s-ci-robot k8s-ci-robot requested review from ameukam, cblecker, cpanato, dims, listx, nikhita and puerco and removed request for chases2 and hasheddan August 2, 2021 21:16
@ameukam
Copy link
Member

ameukam commented Aug 3, 2021

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Aug 3, 2021
@spiffxp
Copy link
Member Author

spiffxp commented Aug 3, 2021

/hold cancel

@k8s-ci-robot k8s-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Aug 3, 2021
@k8s-ci-robot k8s-ci-robot merged commit 109773e into kubernetes:main Aug 3, 2021
@k8s-ci-robot k8s-ci-robot added this to the v1.22 milestone Aug 3, 2021
@spiffxp spiffxp deleted the use-new-labels-in-owners branch August 3, 2021 19:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. area/access Define who has access to what via IAM bindings, role bindings, policy, etc. area/apps/cert-manager cert-manager, code in apps/cert-manager/ area/artifacts Issues or PRs related to the hosting of release artifacts for subprojects area/audit Audit of project resources, audit followup issues, code in audit/ area/prow Setting up or working with prow in general, prow.k8s.io, prow build clusters area/release-eng Issues or PRs related to the Release Engineering subproject area/terraform Terraform modules, testing them, writing more of them, code in infra/gcp/clusters/ cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. sig/cluster-lifecycle Categorizes an issue or PR as relevant to SIG Cluster Lifecycle. sig/contributor-experience Categorizes an issue or PR as relevant to SIG Contributor Experience. sig/release Categorizes an issue or PR as relevant to SIG Release. sig/security Categorizes an issue or PR as relevant to SIG Security. sig/testing Categorizes an issue or PR as relevant to SIG Testing. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. wg/reliability Categorizes an issue or PR as relevant to WG Reliability
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants