Skip to content

Commit

Permalink
.github: hardcode aws cli version
Browse files Browse the repository at this point in the history
Signed-off-by: Evgeniy Zayats <[email protected]>
  • Loading branch information
Evgeniy Zayats committed Jan 23, 2025
1 parent 7eb19b4 commit edabbdd
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ permissions: write-all

jobs:
run_system_tests:
uses: nspcc-dev/neofs-testcases/.github/workflows/system-tests.yml@master
uses: nspcc-dev/neofs-testcases/.github/workflows/system-tests.yml@ezayats/fix-aws-cli
with:
neofs_network_domain: ${{ vars.TEST_RESULTS_NEOFS_NETWORK_DOMAIN }}
neofs_http_gate: ${{ vars.TEST_RESULTS_HTTP_GATE }}
Expand Down
23 changes: 23 additions & 0 deletions .github/workflows/system-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,29 @@ jobs:
python-version: '3.12'
- run: python --version

- name: Remove existing AWS CLI
run: |
sudo rm -rf /usr/local/aws-cli
sudo rm /usr/local/bin/aws
- name: Install AWS CLI 2.22.35 on Linux
if: runner.os == 'Linux'
run: |
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64-2.22.35.zip" -o "awscliv2.zip"
unzip awscliv2.zip
sudo ./aws/install
rm -rf aws awscliv2.zip
- name: Install AWS CLI 2.22.35 on Macos
if: runner.os == 'macOS'
run: |
curl "https://awscli.amazonaws.com/AWSCLIV2-2.22.35.pkg" -o "AWSCLIV2.pkg"
sudo installer -pkg AWSCLIV2.pkg -target /
rm AWSCLIV2.pkg
- name: Verify AWS CLI version
run: aws --version

- name: Checkout neofs-testcases repository
uses: actions/checkout@v4
with:
Expand Down

0 comments on commit edabbdd

Please sign in to comment.