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

build: Add rpm builds to release pipeline #1228

Open
wants to merge 1 commit into
base: I0d821aa07ca2a24a98da6c2c58865d2339d73a87
Choose a base branch
from

Conversation

ronh-rs
Copy link
Collaborator

@ronh-rs ronh-rs commented Apr 19, 2024

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 systemd
service 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.

@readysetbot readysetbot force-pushed the I5846f85a6b4460dc5876f4ec7b602ab508701bf9 branch from 2fac449 to c88ce20 Compare April 22, 2024 19:58
@ronh-rs ronh-rs changed the base branch from I25938a3a549a28fc768a8b09f3d68a0327e1eb11 to I0d821aa07ca2a24a98da6c2c58865d2339d73a87 April 22, 2024 19:58
@readysetbot readysetbot force-pushed the I5846f85a6b4460dc5876f4ec7b602ab508701bf9 branch from c88ce20 to 9bf3ec8 Compare April 23, 2024 16:17
@ronh-rs ronh-rs changed the title wip: [skip-ci] Add rpm build to release pipeline wip: [skip-ci] build: Add rpm builds to release pipeline Apr 23, 2024
@readysetbot readysetbot force-pushed the I0d821aa07ca2a24a98da6c2c58865d2339d73a87 branch from 116768e to 4476677 Compare April 23, 2024 19:17
@readysetbot readysetbot force-pushed the I5846f85a6b4460dc5876f4ec7b602ab508701bf9 branch from 9bf3ec8 to 6e14542 Compare April 23, 2024 19:17
@ronh-rs ronh-rs changed the title wip: [skip-ci] build: Add rpm builds to release pipeline build: Add rpm builds to release pipeline Apr 23, 2024
@readysetbot readysetbot force-pushed the I5846f85a6b4460dc5876f4ec7b602ab508701bf9 branch from 6e14542 to d34136f Compare April 23, 2024 20:07
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 systemd
service 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.

Change-Id: I5846f85a6b4460dc5876f4ec7b602ab508701bf9
Reviewed-on: https://gerrit.readyset.name/c/readyset/+/7173
Tested-by: Buildkite CI
Reviewed-by: Marcelo Altmann <marcelo@readyset.io>
@readysetbot readysetbot force-pushed the I5846f85a6b4460dc5876f4ec7b602ab508701bf9 branch from d34136f to f0d1596 Compare April 23, 2024 21:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant