Files
runner-images/images/macos/provision/core/aws.sh
Mikhail Timofeev 0d46520ccf [macOS] Fail builds on errors during the image generation (#1756)
* set -e and fix all the scripts

* add source utils to finalize_vm script

* change xcode version in postbuild script

* fix for softwareupdates and for xcode version
2020-10-23 17:59:08 +03:00

14 lines
336 B
Bash

#!/bin/bash -e -o pipefail
echo Installing aws...
curl "https://awscli.amazonaws.com/AWSCLIV2.pkg" -o "AWSCLIV2.pkg"
sudo installer -pkg AWSCLIV2.pkg -target /
rm -rf AWSCLIV2.pkg
echo Installing aws sam cli...
brew tap aws/tap
brew install aws-sam-cli
echo "Install aws cli session manager"
brew cask install session-manager-plugin