Skip to content

Commit

Permalink
Revert "[internal] Switch to AWS CLI v2 (pantsbuild#14095)"
Browse files Browse the repository at this point in the history
This reverts commit 2ecc826.

[ci skip-rust]

[ci skip-build-wheels]
  • Loading branch information
Eric-Arellano committed Jan 7, 2022
1 parent db9b8fe commit a462f2c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions build-support/bin/install_aws_cli_for_ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,12 @@ if [[ ! -x "${AWS_CLI_BIN}" ]]; then
TMPDIR=$(mktemp -d)

pushd "${TMPDIR}"
curl --fail "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
unzip awscliv2.zip

curl --fail "https://s3.amazonaws.com/aws-cli/awscli-bundle.zip" -o "awscli-bundle.zip"
unzip awscli-bundle.zip
# NB: We must run this with python3 because it defaults to `python`, which refers to Python 2 in Linux GitHub
# Actions CI job and is no longer supported.
python3 ./aws/install --install-dir "${AWS_CLI_ROOT}"
python3 ./awscli-bundle/install --install-dir "${AWS_CLI_ROOT}"

popd

Expand Down

0 comments on commit a462f2c

Please sign in to comment.