Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[internal] Switch to AWS CLI v2 #14095

Merged
merged 1 commit into from
Jan 6, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions build-support/bin/install_aws_cli_for_ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,11 @@ if [[ ! -x "${AWS_CLI_BIN}" ]]; then
TMPDIR=$(mktemp -d)

pushd "${TMPDIR}"

curl --fail "https://s3.amazonaws.com/aws-cli/awscli-bundle.zip" -o "awscli-bundle.zip"
unzip awscli-bundle.zip
curl --fail "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
unzip awscliv2.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 ./awscli-bundle/install --install-dir "${AWS_CLI_ROOT}"
python3 ./aws/install --install-dir "${AWS_CLI_ROOT}"

popd

Expand Down