Add RPM packaging for Rocky 8/9/10 + AL2023 with x86_64/arm64 support#338
Open
fcostaoliveira wants to merge 8 commits intomasterfrom
Open
Add RPM packaging for Rocky 8/9/10 + AL2023 with x86_64/arm64 support#338fcostaoliveira wants to merge 8 commits intomasterfrom
fcostaoliveira wants to merge 8 commits intomasterfrom
Conversation
- Remove broken version_from_configure macro from spec file - Add version mismatch warning when release tag differs from configure.ac - Use find instead of globstar for RPM signing (bash compatibility) - Fix S3 sync to not mask download errors - Add verification step before S3 upload to prevent accidental wipe - Use find for organizing RPMs instead of globstar
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Add RPM packaging and YUM repository publishing for Red Hat-based distributions with multi-architecture support.
Changes
New Files
rpm/memtier-benchmark.spec- RPM spec file for building memtier_benchmark.github/workflows/release-rpm.yml- GitHub Actions workflow for RPM builds and publishingSupported Distributions
Workflow Behavior
Repository Structure
Packages will be published to
https://packages.redis.io/rpm/:which aligs with what we already have in DEB Repository Structure:
Note
Medium Risk
Introduces new release automation that signs artifacts and publishes to S3 with
--delete, so misconfiguration could overwrite repository contents despite added safeguards.Overview
Adds RPM packaging support by introducing a new
rpm/memtier-benchmark.specand a GitHub Actions workflow to build SRPMs and RPMs for EL8/9/10 and Amazon Linux 2023 acrossx86_64andaarch64.The workflow smoke-tests installation on non-PR runs, and on published (non-prerelease) releases signs RPMs, generates
createrepometadata, and syncs a per-distro/arch YUM repository layout to S3 (also uploading RPMs as GitHub release assets). Documentation is updated with YUM repo setup/install instructions for RHEL-compatible distros and AL2023.Written by Cursor Bugbot for commit e10c1a7. This will update automatically on new commits. Configure here.