-
Notifications
You must be signed in to change notification settings - Fork 176
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
Create a job to update common files across repos #1627
Comments
Related to istio/istio#16381 |
@geeknoid - based on our discussion, I will take this off your plate (unless it is already in progress). |
Excellent, thanks. @jasonwzm FYI |
/assign @Biwwie As discussed, the rough process should be something like: Create
With the following actions:
Aside: |
@clarketm: GitHub didn't allow me to assign the following users: Biwwie. Note that only istio members, repo collaborators and people who have commented on this issue/PR can be assigned. Additionally, issues/PRs can only have 10 assignees at the same time. 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. |
More info about a broader issue: istio/istio#16381 |
Great; I was not aware of this being a broader issue. It sounds like, making the approach canonical and extensible, so that it can be leveraged in other capacities, is a key requirements. |
One thing to note that, the branch does matter here. |
Good point! To ensure it is clear, for example if a change to files in |
Yes, that is correct. |
Hi Gang, I took the first stab at semi-automating this work here: https://gist.github.com/sdake/2e45b74412bb66e1cff7839f0d80f8d0 free to make improvements. There is an RFC covering this topic in more far more detail here presented to T&R: https://docs.google.com/document/d/1d4tB3LCeoRcW_TEj_4TMpJSaeSF8H0iSUa5Ln2k1l4I/edit?ts=5deef575#heading=h.xw1gqgyqs5b |
Yup this is what we are after. Personally I think it would be better to walk prior to teleporting to mars, but I leave it to you :) |
Thank you for getting the ball rolling on this issue with the RFC and script. I am working on a generic framework to abstract some of the complexity of multi-repo dependency updates. Ideally, we can trigger these routines in CI (on merge/postsubmit) in the future, but I agree that encapsulating this logic in a script is the appropriate first step. (#2172) |
We may want to consider not requiring an approved on PR from the bot (provided tests pass of course). otherwise someone will have to go approved 10 prs every time there is a common files change |
Yes, we can either not require approval or force push (if no conflict). Let's give the solution in #2223 a try at least once first to gauge the toil then we can optimize. |
Yes definitely let it bake for a bit. Direct push would bypass tests though so probably don't want that |
Istio has the istio/common-files repo which contains files which should appear in every development repo in the org. When a push occurs in istio/common-files, we want a job to iterate through all repos in the org. For each repo, check out the repo and run "make updatecommon" and create a PR to push all changes.
The text was updated successfully, but these errors were encountered: