-
Notifications
You must be signed in to change notification settings - Fork 11
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
Migrate Repositories to kcp-Prow #25
Comments
Happy to help out here as well :) |
How can we coordinate on this? I need to setup the Prow stuff and the webhook, but then afterwards anyone can make the PRs to add the .prow.yaml files everywhere. |
re: webhook - out of curiosity, why aren't we adding the webhook at the org level? re: setting up prow - #26 takes care of it, right? are there additional things required? |
Never done that, only recently learned that this works, plus I have no access to org-level settings 😁 In general I don't see an issue with doing it for the entire org.
The other things are
|
In the meantime, for the repos in the checklist above: If there is a dedicated ticket, that means the webhook is setup and someone can pick it up and work on that repo. |
How about we centralize the job configuration in this repo? That way all configs stay at the same place and review/approvals can be governed by OWNERS files. |
Kubernetes also follows the same approach in kubernetes/test-infra |
In my experience having jobs in a central location becomes a problem when the repos start branching heavily and maintaining the correct config files for each branch of each repo centrally -- I never liked that and welcomed the in-repo config sooo much. I also don't think the infra-maintainers should approve Prowjobs of, say, the logicalcluster repo. |
Overall, I do agree that both approaches have their pros and cons.
I am not sure I understand this problem very clearly.
The infra-maintainers don't need to be in the loop for all repos. Maintainers of each repo can themselves approve Prowjobs for their repo jobs. I am okay with whatever is decided. I wanted to understand out of satisfying curiosity. |
Oh, maybe I have misrepresented my thoughts, but I am also not completely against centrally managed jobs. A healthy mix is what I would have aimed at, with most focus on in-repo jobs.
In our product, we did a few major code reorganizations, where for example a This lead to lots of Sure, we could have copied the jobs, or wrote some more tooling to generate them, but this all seemed like even more overhead. Centrally managed jobs shine often for postsubmits and they are a nice way to impose certain minimum jobs for each repo (like we do here with the |
Got you! Thanks for the context @xrstf! 💯 |
But I can also see the downsides of in-repo. Like when you need to change that one tiny thing, but in all branches in all of your repos, and you spend the rest of the opening PRs and frying the CI cluster. So yeah, centrally managed jobs can be godsend, too. :) |
Once all repos have been migrated, maybe we could create a single PR to remove the repos from openshift/release to make approvals easier? |
I fear that if we leave some repos in both Prows, outside contributions might be problematic. Not sure though, but that was my reason for doing it individually per-repo. |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with /lifecycle stale |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with /lifecycle rotten |
Rotten issues close after 30d of inactivity. /close |
@kcp-ci-bot: Closing this issue. In response to this:
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. |
This is a checklist for keeping track of the kcp-dev/* repos on Github and their migration to kcp's own Prow:
Repositories
Repositories not to be migrated
The text was updated successfully, but these errors were encountered: