Skip to content

Commit f9e623e

Browse files
committed
add aws installation
1 parent ff27450 commit f9e623e

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
#!/bin/bash
2+
#
3+
# Installs the latest version of AWS CLI V2
4+
#
5+
6+
# http://redsymbol.net/articles/unofficial-bash-strict-mode/
7+
set -o errexit # abort on nonzero exitstatus
8+
set -o nounset # abort on unbound variable
9+
set -o pipefail # don't hide errors within pipes
10+
IFS=$'\n\t'
11+
12+
AWS_CLI_VERSION="2.11.11"
13+
ARCH="x86_64"
14+
15+
curl "https://awscli.amazonaws.com/awscli-exe-linux-${ARCH}-${AWS_CLI_VERSION}.zip" --output "awscliv2.zip" &&
16+
apt-get update &&
17+
apt-get install -y unzip &&
18+
unzip awscliv2.zip &&
19+
./aws/install &&
20+
apt-get remove --purge -y unzip &&
21+
rm awscliv2.zip &&
22+
rm -rf awscliv2

ci/github/integration-testing/simcore-sdk.bash

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ install() {
88
make devenv
99
# shellcheck source=/dev/null
1010
source .venv/bin/activate
11+
./ci/github/helpers/install_aws_cli_v2.bash
1112
pushd packages/simcore-sdk
1213
make install-ci
1314
popd

0 commit comments

Comments
 (0)