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

Add a do-not-merge/needs-area label to cluster-api #30314

Merged
merged 1 commit into from
Aug 10, 2023

Conversation

mjlshen
Copy link
Contributor

@mjlshen mjlshen commented Aug 7, 2023

This label will be added automatically when a PR is missing an "area/*" label in the cluster-api repo, which will block PRs from being merged until an "area/*" label is added.

kubernetes-sigs/cluster-api#8967

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Aug 7, 2023
@k8s-ci-robot
Copy link
Contributor

Welcome @mjlshen!

It looks like this is your first PR to kubernetes/test-infra 🎉. Please refer to our pull request process documentation to help your PR have a smooth ride to approval.

You will be prompted by a bot to use commands during the review process. Do not be afraid to follow the prompts! It is okay to experiment. Here is the bot commands documentation.

You can also check if kubernetes/test-infra has its own contribution guidelines.

You may want to refer to our testing guide if you run into trouble with your tests not passing.

If you are having difficulty getting your pull request seen, please follow the recommended escalation practices. Also, for tips and tricks in the contribution process you may want to read the Kubernetes contributor cheat sheet. We want to make sure your contribution gets all the attention it needs!

Thank you, and welcome to Kubernetes. 😃

@k8s-ci-robot k8s-ci-robot added the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Aug 7, 2023
@k8s-ci-robot
Copy link
Contributor

Hi @mjlshen. Thanks for your PR.

I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@k8s-ci-robot k8s-ci-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. area/config Issues or PRs related to code in /config area/label_sync Issues or PRs related to code in /label_sync sig/contributor-experience Categorizes an issue or PR as relevant to SIG Contributor Experience. sig/testing Categorizes an issue or PR as relevant to SIG Testing. labels Aug 7, 2023
@mjlshen mjlshen changed the title Add a do-not-merge/needs-area label to cluster-api Add a do-not-merge/needs-area label to cluster-api Aug 7, 2023
Copy link
Contributor

@g-gaston g-gaston left a comment

Choose a reason for hiding this comment

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

We might need to add something here https://github.com/kubernetes/test-infra/blob/master/config/prow/config.yaml#L621 using missingLabels to block PRs containing do-not-merge/needs-area from merging.
or is this done by default?

config/prow/plugins.yaml Outdated Show resolved Hide resolved
@g-gaston
Copy link
Contributor

g-gaston commented Aug 7, 2023

Copy link
Member

@furkatgofurov7 furkatgofurov7 left a comment

Choose a reason for hiding this comment

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

Thanks for the PR, one suggestion below:

config/prow/plugins.yaml Outdated Show resolved Hide resolved
@furkatgofurov7
Copy link
Member

/ok-to-test

@k8s-ci-robot k8s-ci-robot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Aug 8, 2023
@k8s-ci-robot k8s-ci-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Aug 8, 2023
Copy link
Contributor

@killianmuldoon killianmuldoon left a comment

Choose a reason for hiding this comment

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

I'm not certain this will work - but I think we should be happy to merge it and see the impact unless we get some clearer guidance.

We should definitely bring this change up on the community meeting to signal to contributors and reviewers that this change is being made.

@nprokopic
Copy link

With this change we should also update Cluster API pull request template and mention there that area label is required now.

label_sync/labels.md Show resolved Hide resolved
label_sync/labels.yaml Show resolved Hide resolved
@sbueringer
Copy link
Member

sbueringer commented Aug 8, 2023

With this change we should also update Cluster API pull request template and mention there that area label is required now.

As mentioned on the CAPI PR. I would prefer to keep the template short: kubernetes-sigs/cluster-api#8260 (comment)

Please also sync up your efforts. I think you're not aware of each other :)

@mjlshen
Copy link
Contributor Author

mjlshen commented Aug 9, 2023

I'll bring it up today - thanks for the thorough review!

Copy link
Member

@sbueringer sbueringer left a comment

Choose a reason for hiding this comment

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

Just one nit otherwise lgtm

config/prow/config.yaml Show resolved Hide resolved
@g-gaston
Copy link
Contributor

g-gaston commented Aug 9, 2023

/lgtm

This label will be added automatically when a PR is missing an "area/*"
label in the cluster-api repo, which will block PRs from being merged
until an "area/*" label is added.

Signed-off-by: Michael Shen <mishen@umich.edu>
@k8s-ci-robot k8s-ci-robot removed the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Aug 9, 2023
@sbueringer
Copy link
Member

Alright. Thx everyone for implementing and reviewing this!

/lgtm
/approve

/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 9, 2023
@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Aug 9, 2023
@sbueringer
Copy link
Member

sbueringer commented Aug 9, 2023

Looks like #30335 will fix the job

@sbueringer
Copy link
Member

/assign @BenTheElder

@sbueringer
Copy link
Member

/assign @dims

Sorry not entirely sure who to assign for which folder

@sbueringer
Copy link
Member

Ah didn't notice sig-contributor-experience-technical-leads are now approvers for labels

/assign @MadhavJivrajani

@nawazkh
Copy link
Contributor

nawazkh commented Aug 9, 2023

/test pull-test-infra-unit-test-race-detector-nonblocking

@nawazkh
Copy link
Contributor

nawazkh commented Aug 9, 2023

/lgtm

@MadhavJivrajani
Copy link
Contributor

Will take a look today 👍

Copy link
Contributor

@MadhavJivrajani MadhavJivrajani left a comment

Choose a reason for hiding this comment

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

One comment otherwise LGTM!

config/prow/config.yaml Show resolved Hide resolved
@MadhavJivrajani
Copy link
Contributor

/lgtm
/assign @dims
for approval

@dims
Copy link
Member

dims commented Aug 10, 2023

/approve
/lgtm

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dims, mjlshen, sbueringer

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 10, 2023
@k8s-ci-robot k8s-ci-robot merged commit 44577ab into kubernetes:master Aug 10, 2023
8 checks passed
@k8s-ci-robot
Copy link
Contributor

@mjlshen: Updated the following 3 configmaps:

  • config configmap in namespace default at cluster test-infra-trusted using the following files:
    • key config.yaml using file config/prow/config.yaml
  • plugins configmap in namespace default at cluster test-infra-trusted using the following files:
    • key plugins.yaml using file config/prow/plugins.yaml
  • label-config configmap in namespace test-pods at cluster test-infra-trusted using the following files:
    • key labels.yaml using file label_sync/labels.yaml

In response to this:

This label will be added automatically when a PR is missing an "area/*" label in the cluster-api repo, which will block PRs from being merged until an "area/*" label is added.

kubernetes-sigs/cluster-api#8967

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@mjlshen mjlshen deleted the cluster-api-needs-area branch August 10, 2023 11:32
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/config Issues or PRs related to code in /config area/label_sync Issues or PRs related to code in /label_sync 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. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. sig/contributor-experience Categorizes an issue or PR as relevant to SIG Contributor Experience. sig/testing Categorizes an issue or PR as relevant to SIG Testing. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet