revert to official awscli binary

the ubuntu awscli fails with errors like:

upload failed: unpack-dir/.stack-work/install/x86_64-linux-tinfo6/d7d205a89b6867ea4451395ec473d03fcbc958590d23b15706959684c77259fd/9.8.2/doc/zstd-0.1.3.0/zstd.haddock to s3://stackage-haddock/nightly-2024-07-11/zstd-0.1.3.0/zstd.haddock An error occurred (InvalidAccessKeyId) when calling the PutObject operation: The AWS Access Key Id you provided does not exist in our records.
This commit is contained in:
Jens Petersen 2024-07-12 00:55:25 +08:00
parent d73d189a9d
commit 079410d332
2 changed files with 10 additions and 1 deletions

View File

@ -11,3 +11,13 @@ export DEBIAN_FRONTEND=noninteractive
apt-get update
apt-get install -y curl unzip
# Install AWS CLI
mkdir -p /tmp/awscli
(
cd /tmp/awscli
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
unzip -q awscliv2.zip
./aws/install --bin-dir /usr/bin
)
rm -rf /tmp/awscli

View File

@ -14,7 +14,6 @@ apt-get update
apt-get install -y \
apt-transport-https \
awscli \
build-essential \
cmake \
coinor-libclp-dev \