Repository navigation
ci(release-rpm): upload RPM objects with public-read ACL (backport of #501, fixes #500) - #502
Merged
Merged
Conversation
…501, fixes #500) Backport of #501 to the 2.4 release branch. Releases are cut from this branch, so without the ACL fix here the next 2.4.x release would re-run `aws s3 sync ./repo s3://.../rpm --delete` with the default private ACL and re-break packages.redis.io/rpm/** with 403 AccessDenied. Add `--acl public-read` so RPM objects match the DEB pipeline (deb-s3 defaults to public-read) and stay readable through CloudFront. Co-Authored-By: Claude Opus 4.8 <[email protected]>
🛡️ Jit Security Scan Results✅ No security findings were detected in this PR
Security scan by Jit
|
This was referenced Jul 1, 2026
Merged
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.
Backport of #501 to the 2.4 release branch.
Why this is needed on
2.4Releases are cut from
2.4, andpublish-to-yumisSKIPPEDon PRs — so the fix only takes effect on a real release from this branch. Without it, the next 2.4.x release re-runs:with the default private ACL, which re-breaks
packages.redis.io/rpm/**with403 AccessDenied(issue #500). #501 fixesmasteronly; it does nothing for a release cut from2.4.Fix
Add
--acl public-readto the RPM sync so objects match the DEB pipeline (deb-s3defaults topublic-read) and stay readable through CloudFront. Identical one-line change to #501.Blocker for the 2.4.4 release — must land before running
utils/prepare_release.sh 2.4.4.Still requires the one-time S3 ACL reset on the already-uploaded private objects (
aws s3 cp --recursive --acl public-read --metadata-directive REPLACE), sincesyncskips unchanged files.🤖 Generated with Claude Code
Note
Low Risk
Single CI publish-step change; no runtime or application code, only object ACLs on release uploads.
Overview
Fixes 403 AccessDenied on
packages.redis.io/rpm/**by setting--acl public-readon the release workflow’saws s3 syncto the RPM prefix, aligning RPM uploads with how DEB objects are exposed (public-read viadeb-s3).Adds inline comments explaining that CloudFront expects per-object public-read ACLs and that default
aws s3 syncleaves objects private.Reviewed by Cursor Bugbot for commit 9b29ee6. Bugbot is set up for automated code reviews on this repo. Configure here.