ci(release-rpm): drop apt awscli, use runner's pre-installed AWS CLI v2 (2.3)#369
Merged
fcostaoliveira merged 1 commit intoredis:2.3from May 5, 2026
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 5, 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
Backport of #368 to the
2.3release branch.The 2.3.1 release's
publish-to-yumjob failed in step 4 with:```
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). GitHub'subuntu-latestnow resolves to noble. Theubuntu-24.04runner image ships AWS CLI v2 pre-installed at/usr/local/bin/aws, so the apt install was both redundant and broken.This PR drops
awsclifrom the apt list and addsaws --versionas a sanity check on2.3, so 2.3.x patch releases keep publishing to YUM.Once this lands we can re-trigger
publish-to-yumagainst the 2.3.1 release viaworkflow_dispatchto backfill the YUM repo with the 2.3.1 RPMs (which already exist as release assets but are not yet served from the repo).🤖 Generated with Claude Code
Note
Low Risk
Low risk workflow tweak that only affects the
publish-to-yumGitHub Actions job by changing how AWS CLI is obtained; main risk is unexpected runner image differences causing publish failures.Overview
Fixes the RPM release workflow on Ubuntu 24.04 runners by dropping
awsclifrom the apt install inpublish-to-yumand instead relying on the GitHub-hosted runner’s pre-installed AWS CLI v2.Adds an
aws --versionsanity check while still installing only the required RPM repo tooling (createrepo-c,rpm).Reviewed by Cursor Bugbot for commit be2f77f. Bugbot is set up for automated code reviews on this repo. Configure here.