-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Homebrew publish on release does not work #6613
Comments
I would suggest to drop the current action. It's not really useful to keep it failing going forward. @CecileRobertMichon @fabriziopandini @enxebre @vincepri Opinions? |
+1 to drop current action We should investigate how this is done in the Kubernetes project, because relying on personal tokens is not sustainable |
Opened PR #6816 to drop the action. I would keep the issue around to look for a new solution. |
Related to #4370 |
/triage accepted |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
/lifecycle frozen cc @ykakarap possible improvement to the release automation |
@fabriziopandini: GuidelinesPlease ensure that the issue body includes answers to the following questions:
For more details on the requirements of such an issue, please see here and ensure that they are met. If this request no longer meets these requirements, the label can be removed 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. |
Disclaimer: Probably hard to automate entirely as we don't want to use personalized GitHub tokens and it's non trivial to push to community owned forks like the cherry pick bot. But maybe there's prior art or ways to optimize the manual process a bit |
I was thinking something like kpromo, so we create the PR automatically but using personal github token |
Sounds good as a fallback. Just remembered that kubectl is available via homebrew, so we can definitely ask the k/k release team how they are doing it. |
During the v1.3.2/v1.2.9 release we observed that homebrew seems to have introduced some kind of automation to automatically pick up the new version of clusterctl when available. |
Seems like the issue is resolved by introduction of a bump bot in homebrew, see this thread for context https://kubernetes.slack.com/archives/C8TSNPY4T/p1673372872896449?thread_ts=1673227707.288409&cid=C8TSNPY4T |
@ykakarap @sbueringer looks like we can close this issue as completed, then? |
Fine for me! |
Hey folks, I was checking it a bit, but I could not find a automated bot PR for clusterctl in homebrew repo. I could only find Homebrew/homebrew-core#120231 that we did not open, but this seems to be not from the bot rather a homebrew maintainer? |
Sure, waiting for response here: Homebrew/discussions#4260 |
Based on the conversation with homebrew maintainers, here are my findings:
Side notes:
|
Maybe we should just continue checking if the PR is already open and otherwise open it ourselves. Instead of waiting a few days and then potentially still opening the PR ourselves. |
@furkatgofurov7 WDYT should we do with this issue? I think basically documenting that we should check if the PR exists and create it otherwise should be fine (which is what we currently have documented) and we can close this issue. I'm not sure it makes sense to invest in more automation given that we have no good idea on how to do it. |
@sbueringer I am fine with closing it. My intention reaching out to maintainers of homebrew was to clarify if we really have an automation in place or not.
well, as I mentioned above:
some kind of automation is there, but it is not quick enough to open a PR right away and takes time (in days 😄), but we usually open a PR right away during releasing process, which makes it useless IMO. So, I do agree on not investing more time on finding/implementing a new automation around it. |
Yup agree the automation on the homebrew side is not very useful to us. It basically comes down to: are we fine with opening the PR manually or do we want to invest in finding a way to automate it. I just don't see a way to automate it without someone configuring their personal GitHub token somewhere, which seems like a no-go. The alternative is probably to create a special GitHub user (not sure if possible given GitHub terms and conditions and upcoming enforced 2FA) / GitHub application / .. (like Kubernetes has for Prow (?)). But that seems way too much effort. |
Just discussed this again. It's simply not worth the effort to implement and maintain the automation. Let's just open the PRs manually. /close |
@sbueringer: 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. |
Looks like our homebrew action does not work / probably never worked before.
It seems to depend on a personal access token which we don't really want to use.
For more context, see: https://kubernetes.slack.com/archives/C8TSNPY4T/p1653909691012589
xref: Action logs: https://github.com/kubernetes-sigs/cluster-api/actions/workflows/update-homebrew-formula-on-release.yml
/kind bug
[One or more /area label. See https://github.com/kubernetes-sigs/cluster-api/labels?q=area for the list of labels]
The text was updated successfully, but these errors were encountered: