-
-
Notifications
You must be signed in to change notification settings - Fork 43
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
Improve bottling workflow #209
Comments
Relatedly: |
This was fixed months ago: we don't do this anymore - only a syntax check.
Note that a PR version bump to portable-ruby isn't the same as a release. We've on various occasions in the past updated Portable Ruby and then merged some dependency updates before tagging. To achieve a bottle block prior to a release, we would need to block any portable-ruby PRs until after all other PRs are merged and then have CI force a rebase. The historical bottle block was actually attached to the release workflow which is why it was ditched as adding an extra commit at that point is useless as we have git tags. A possible optimisation if we want is maybe finding the last PR merged and taking the artifact from that (if not too old). A bit messy but theoretically possible. |
Yup, sorry, missed that, nice work.
That seems reasonable. Don't need a rebase, though, we can just enable the "branch must be up to date" branch protection. It seems like there's no real need in the case of the last two releases to rebuild Ruby again in this case when it could have used the existing build here.
Yes, I think this would make a lot of sense. |
Not what you were asking here, but you may also like: Homebrew/brew#17400. This should somewhat diminish the effect of any slowdown as you can then hit release and not worry how long it takes as the PR will be ready to merge when it is done rather than needing manual steps. |
We have lots of great automation in this repository now 🎉
One thing slowing things down, though, is if we want to build a new Ruby we end up building it (at least) 3 times:
master
after the PR is merged to get it 🟢Ideally the bottles would be built once (maybe twice) and not all three times.
The text was updated successfully, but these errors were encountered: