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

Expand list of approvers and set up auto-merge for org-management PRs #24

Open
accorvin opened this issue May 23, 2023 · 12 comments
Open

Comments

@accorvin
Copy link
Member

Right now, we require manual approval and merging from the authorized set of owners for this org. This introduces a bottleneck on adding new people to the org.

I believe we should:

  1. Increase the number of people listed as approvers for PRs to this repo
  2. Implement automation such that when a PR is approved by an authorized approver, the PR is automatically merged and org membership changes are applied.
@accorvin
Copy link
Member Author

@jkoehler-redhat @LaVLaS @VaishnaviHire what do you think of this proposal. If you approve, I can volunteer my team's time to make it happen.

cc @anishasthana

@jkoehler-redhat
Copy link
Contributor

@accorvin I think this is fine as long as all approvers know to approve aligned to the community guidelines: https://github.com/opendatahub-io/opendatahub-community/blob/main/community-membership.md

@LaVLaS
Copy link
Contributor

LaVLaS commented May 26, 2023

Increase the number of people listed as approvers for PRs to this repo
Implement automation such that when a PR is approved by an authorized approver, the PR is automatically merged and org membership changes are applied.

I agree with both points. @accorvin I have some basic automation in development but if your team is will to create and own the automation then it would be greatly appreciated

@accorvin I think this is fine as long as all approvers know to approve aligned to the community guidelines: https://github.com/opendatahub-io/opendatahub-community/blob/main/community-membership.md

Since the previous updates have been blind invites with minimal context , I added templates to outline the requirements for requesting organization membership for all new PRs.

@anishasthana
Copy link
Member

So will we require an issue for every new membership PR? Or is just a PR following the template sufficient?

@accorvin
Copy link
Member Author

I don't think we should require an issue for every new membership PR. I think issues should probalby be required for new members outside of the RHODS team at Red Hat.

For members of the RHODS team (including dev/qe/docs/program/sre/bu/etc), the issue template feels to heavy weight to me. We should be able to go straight to PR.

@anishasthana
Copy link
Member

I can spend some time working on a github action automating it next week. I'm thinking for now we can start with the same OWNERS list + myself and Alex. We can iterate over time to better tie in SIG leadership

@LaVLaS
Copy link
Contributor

LaVLaS commented May 26, 2023

For members of the RHODS team (including dev/qe/docs/program/sre/bu/etc), the issue template feels to heavy weight to me. We should be able to go straight to PR.

This is a good point we were discussing in the steering committe. The original mandate was to have a self governing community so the idea that there is a RHODS "team" controlling the community goes against the idea of community governance. If we are auto-adding internal RHODS team members or RH OpenShift AI contributors then we just state that the membership requirements are you have to be an IBM/Red Hat employee or partner

@accorvin
Copy link
Member Author

accorvin commented Jun 6, 2023

This is handled by #48

@grdryn
Copy link
Member

grdryn commented Aug 9, 2023

Howdy, I'm new here 🙂

I'm an admin of an org-management/Peribolos config for a different org here, and there might be some automation that I could propose in a PR here that you might like:

  • We do a Peribolos dry run on each PR automatically (typically takes about ~1min)
  • We do a Peribolos run (not dry) on each merge (similarly takes 60-90s)
  • We schedule that same Peribolos run daily, to flush out any manual changes and force people to remember that they need to make their changes here through the config :)

Currently I see that for this org, the Peribolos run appears to be triggered manually by the person who merges the PR, and it typically takes more than 20 minutes (and it seem to do much less / is a much smaller config than the other org that I'm talking about), so I think what I'm suggesting would be a positive improvement.

(I haven't looked into why the other one is so quick compared to this one, so I'm not sure)

Let me know what you think, thanks! 🙂

Edit: I can also see that there's an image quay.io/opendatahub/org-management-checker:v0.0.4 that's used in one of the GH actions, but I can't find where the source of that is, or how it's built/kept up-to-date. Is there a separate repo for it, or was it just built locally to get things working? If it's the latter, let's change that to make it more transparent :)

@anishasthana
Copy link
Member

The source for that image is in https://github.com/opendatahub-io/org-management/tree/main/.github/build.

@accorvin recently created https://github.com/opendatahub-io/org-management/blob/main/.github/workflows/peribolos.yaml previously, so in theory any time a PR is merged in the membership is updated.

That being said, please raise PRs for anything you think you can improve. I'm happy to chat synchronously/asynchronously as well if you need someone to bounce ideas off

@grdryn
Copy link
Member

grdryn commented Aug 14, 2023

Thanks for the info @anishasthana, I'll try to find some time to look at it soon and see if there are improvements that I can suggest in a PR 👍

@accorvin
Copy link
Member Author

@grdryn just chiming in to say that we strongly welcome any automation improvements you're willing to contribute to this repo!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants