Skip to content

ci(release-rpm): upload RPM objects with public-read ACL (backport of #501, fixes #500) - #502

Merged
fcostaoliveira merged 1 commit into
2.4from
backport/release-rpm-public-read-acl-2.4
Jul 1, 2026
Merged

fcostaoliveira merged 1 commit into
2.4from
backport/release-rpm-public-read-acl-2.4

Conversation

@fcostaoliveira

@fcostaoliveira fcostaoliveira commented Jul 1, 2026 •

Copy link
Copy Markdown
Collaborator

Backport of #501 to the 2.4 release branch.

Why this is needed on 2.4

Releases are cut from 2.4, and publish-to-yum is SKIPPED on PRs — so the fix only takes effect on a real release from this branch. Without it, the next 2.4.x release re-runs:

aws s3 sync ./repo "s3://.../rpm" --delete

with the default private ACL, which re-breaks packages.redis.io/rpm/** with 403 AccessDenied (issue #500). #501 fixes master only; it does nothing for a release cut from 2.4.

Fix

Add --acl public-read to the RPM sync so objects match the DEB pipeline (deb-s3 defaults to public-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), since sync skips 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-read on the release workflow’s aws s3 sync to the RPM prefix, aligning RPM uploads with how DEB objects are exposed (public-read via deb-s3).

Adds inline comments explaining that CloudFront expects per-object public-read ACLs and that default aws s3 sync leaves objects private.

Reviewed by Cursor Bugbot for commit 9b29ee6. Bugbot is set up for automated code reviews on this repo. Configure here.

…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-ci

jit-ci Bot commented Jul 1, 2026

Copy link
Copy Markdown

🛡️ Jit Security Scan Results

CRITICAL HIGH MEDIUM

✅ No security findings were detected in this PR


Security scan by Jit

@fcostaoliveira
fcostaoliveira merged commit d4146a2 into 2.4 Jul 1, 2026
64 checks passed
@fcostaoliveira
fcostaoliveira deleted the backport/release-rpm-public-read-acl-2.4 branch July 1, 2026 16:49
This was referenced Jul 1, 2026
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.

1 participant