build: Add rpm builds to release pipeline #1228
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
While we had been supporting builds of debian packages for Ubuntu 22,
this update adds support for RPM packages as well. RPM packages are
built with
cargo generate-rpm
, and common files like the systemdservice script and the default readyset.conf have been moved into a
common location referenced by both package builds. The debian-specific
installation scripts now live in public/readyset/pkg/debian while the
RPM ones live in public/readyset/pkg/rpm.
Two RPMs are being generated with this update. The first is actually
built at the same time as the debian package, and on the same Ubuntu
image. This RPM has been successfully tested on Fedora 39, but may work
on other distros using GLIBCXX_3.4.30 or later. It will not work on
RHEL 9 or similar distros due to outdated GLIBC++. The second RPM is
built for Amazon Linux 2023 along with the readyset binary we package
for our own cloud deployments. This RPM should work with current Amazon
Linux 2023.