Skip to content

Commit 1c7f8f8

Browse files
committed
Fix: install AWS CLI v2 standalone to avoid Python conflicts
The apt-installed awscli v1 conflicts with the newer botocore pulled in by pip (via redisbench-admin), causing KeyError: 'opsworkscm' on every aws s3 cp call. Fix by installing AWS CLI v2 as a standalone binary (no Python dependency), and add set -euo pipefail to bm_files.sh so download failures are caught immediately instead of silently producing missing files.
1 parent dc8b37a commit 1c7f8f8

1,905 files changed

Lines changed: 454645 additions & 3 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.DS_Store

6 KB
Binary file not shown.

.github/workflows/benchmark-runner.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,15 @@ jobs:
6161
- name: Install benchmark dependencies
6262
run: |
6363
sudo .install/install_script.sh
64-
sudo apt install python3-pip awscli -y
64+
sudo apt install python3-pip unzip -y
6565
pip3 install --upgrade pip PyYAML setuptools redisbench-admin
6666
pip3 install -r requirements.txt
67+
- name: Install AWS CLI v2
68+
run: |
69+
curl "https://awscli.amazonaws.com/awscli-exe-linux-$(uname -m).zip" -o /tmp/awscliv2.zip
70+
unzip -q /tmp/awscliv2.zip -d /tmp
71+
sudo /tmp/aws/install
72+
aws --version
6773
- name: Configure AWS credentials
6874
uses: aws-actions/configure-aws-credentials@v4
6975
with:

.idea/.gitignore

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/AugmentWebviewStateStore.xml

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/VectorSimilarity.iml

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/codeStyles/Project.xml

Lines changed: 106 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/codeStyles/codeStyleConfig.xml

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)