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

automate creation of homebrew release #7132

Closed
macfarla opened this issue May 23, 2024 · 4 comments
Closed

automate creation of homebrew release #7132

macfarla opened this issue May 23, 2024 · 4 comments
Assignees
Labels
devops DevOps related task

Comments

@macfarla
Copy link
Contributor

homebrew release gets created after besu release artifact is available. Think some more parts of this can be automated - maybe GHA

homebrew repo -
https://github.com/hyperledger/homebrew-besu

instructions for how to create the release -
git checkout the homebrew-besu repo
git checkout branch 24.5.2
sh updateBesu <24.5.2>

^ this updates besu.rb file
create a PR with this update
git add besu.rb
git commit
git push

@macfarla macfarla added the devops DevOps related task label May 23, 2024
@cdivitotawela
Copy link
Contributor

It is possible to add a GitHub workflow to commit the changes but bypassing the DCO is the challenge. I could configure bot user and email address for the commit. What would be the Hyperledger requirement using a bot commit.

@cdivitotawela
Copy link
Contributor

In order to fully automate the Homebrew release triggered at the end of the Besu release, it requires a GitHub app in Hyperledger GitHub org with permission to create PR. Not sure whether is it feasible to request a GitHub app with permission to enable this automation.

@cdivitotawela cdivitotawela self-assigned this Jun 20, 2024
@cdivitotawela
Copy link
Contributor

Will create a GitHub workflow which can trigger on-demand, that would create a new branch and update the version. Release manager be able to run the job to create the branch. Creating PR from GITHUB_TOKEN is not possible so user need to create the PR from the branch.

@cdivitotawela
Copy link
Contributor

Pull request hyperledger/homebrew-besu#126

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

No branches or pull requests

2 participants