Files
runner-images-sangeeth/images/macos/provision/core/aws.sh
Darii Nurgaleev 0d93dd2fc9 [macOS] brew --cask option fix. (#2325)
* [macOS] brew --cask option fix.

* removed curl from HS

* return curl back
2020-12-22 10:48:31 +03:00

18 lines
438 B
Bash

#!/bin/bash -e -o pipefail
source ~/utils/utils.sh
source ~/utils/invoke-tests.sh
echo Installing aws...
AWS_CLI_URL="https://awscli.amazonaws.com/AWSCLIV2.pkg"
download_with_retries $AWS_CLI_URL "/tmp"
sudo installer -pkg /tmp/AWSCLIV2.pkg -target /
echo Installing aws sam cli...
brew tap aws/tap
brew install aws-sam-cli
echo "Install aws cli session manager"
brew install --cask session-manager-plugin
invoke_tests "Common" "AWS"