Skip to content

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
filipecosta90:fix/release-rpm-awscli-noble-2.3
May 5, 2026
Merged

ci(release-rpm): drop apt awscli, use runner's pre-installed AWS CLI v2 (2.3)#369
fcostaoliveira merged 1 commit intoredis:2.3from
filipecosta90:fix/release-rpm-awscli-noble-2.3

Conversation

@fcostaoliveira
Copy link
Copy Markdown
Collaborator

@fcostaoliveira fcostaoliveira commented May 5, 2026

Summary

Backport of #368 to the 2.3 release branch.

The 2.3.1 release's publish-to-yum job 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 awscli apt package in 24.04 (noble). GitHub's ubuntu-latest now resolves to noble. The ubuntu-24.04 runner image ships AWS CLI v2 pre-installed at /usr/local/bin/aws, so the apt install was both redundant and broken.

This PR drops awscli from the apt list and adds aws --version as a sanity check on 2.3, so 2.3.x patch releases keep publishing to YUM.

Once this lands we can re-trigger publish-to-yum against the 2.3.1 release via workflow_dispatch to 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-yum GitHub 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 awscli from the apt install in publish-to-yum and instead relying on the GitHub-hosted runner’s pre-installed AWS CLI v2.

Adds an aws --version sanity 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.

…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>
@fcostaoliveira fcostaoliveira requested a review from paulorsousa May 5, 2026 15:24
@fcostaoliveira fcostaoliveira merged commit e833a64 into redis:2.3 May 5, 2026
65 checks passed
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.

2 participants