ci(release-rpm): drop apt awscli, use runner's pre-installed AWS CLI v2#368
Open
fcostaoliveira wants to merge 1 commit intoredis:masterfrom
Open
ci(release-rpm): drop apt awscli, use runner's pre-installed AWS CLI v2#368fcostaoliveira wants to merge 1 commit intoredis:masterfrom
fcostaoliveira wants to merge 1 commit intoredis:masterfrom
Conversation
…CLI v2 The publish-to-yum job failed on the 2.3.1 release with 'E: Package awscli has no installation candidate' because Ubuntu removed the awscli apt package in 24.04 (noble), which is what ubuntu-latest now resolves to on GitHub-hosted runners. GitHub's ubuntu-24.04 runner ships AWS CLI v2 pre-installed at /usr/local/bin/aws, so the apt install was redundant in addition to being broken. Drop awscli from the apt line and add `aws --version` as a sanity check that the pre-installed binary is present. Refs: https://github.com/redis/memtier_benchmark/actions/runs/25385139928 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
paulorsousa
approved these changes
May 6, 2026
1 task
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.
Summary
The 2.3.1 release's
publish-to-yumjob failed in step 4 with:```
Package awscli is not available, but is referred to by another package.
E: Package 'awscli' has no installation candidate
```
Failed run: https://github.com/redis/memtier_benchmark/actions/runs/25385139928/job/74444847195
Ubuntu dropped the
awscliapt package in 24.04 (noble) — the v1 it shipped was years out of date. GitHub Actions' `ubuntu-latest` now resolves to noble, so the apt install can never satisfyawscliagain.The fix is straightforward: GitHub's
ubuntu-24.04runner image ships AWS CLI v2 pre-installed at/usr/local/bin/aws, so the apt install line was both redundant and broken. Dropawsclifrom the apt list, addaws --versionas a sanity check.Effect on the 2.3.1 release
The release tag, RPMs (build + smoke test) and Docker images all completed successfully —
publish-to-yumis the last step that copies signed RPMs into the public S3-backed YUM repo. The 2.3.1 RPMs exist as release assets but are not yet served from the YUM repo. Once this lands, we can re-triggerpublish-to-yumagainst the 2.3.1 release viaworkflow_dispatch(or by transient unpublish/republish) to backfill the repo.Where this also needs to land
Same fix is needed on the
2.3branch so 2.3.x patch releases keep publishing. I'll open a sibling PR after this one lands, or feel free to cherry-pick directly.🤖 Generated with Claude Code
Note
Low Risk
Low risk: workflow-only change that adjusts package installation for the GitHub runner image; main risk is if the runner image no longer includes
awsor its path/version differs, breaking the publish job.Overview
Fixes
publish-to-yuminrelease-rpm.ymlonubuntu-latest(now Ubuntu 24.04) by removingawsclifrom the apt install and installing only RPM tooling (createrepo-c,rpm).Adds a small sanity check (
aws --version) and clarifying comments to ensure the runner’s preinstalled AWS CLI v2 is available before syncing the YUM repo to S3.Reviewed by Cursor Bugbot for commit 11e2a53. Bugbot is set up for automated code reviews on this repo. Configure here.