mirror of
https://github.com/actions/runner-images.git
synced 2025-12-20 06:35:47 +00:00
[ubuntu] Move aws-sam-cli installation to the aws.sh script (#3401)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#!/bin/bash -e
|
||||
################################################################################
|
||||
## File: aws.sh
|
||||
## Desc: Installs the AWS CLI
|
||||
## Desc: Installs the AWS CLI, Session Manager plugin for the AWS CLI, and AWS SAM CLI
|
||||
################################################################################
|
||||
|
||||
# Source the helpers for use with the script
|
||||
@@ -24,4 +24,11 @@ fi
|
||||
download_with_retries "https://s3.amazonaws.com/session-manager-downloads/plugin/latest/ubuntu_64bit/session-manager-plugin.deb" "/tmp" "session-manager-plugin.deb"
|
||||
apt install /tmp/session-manager-plugin.deb
|
||||
|
||||
# Download & install the latest aws sam cli release
|
||||
zipName="aws-sam-cli-linux-x86_64.zip"
|
||||
zipUrl="https://github.com/aws/aws-sam-cli/releases/latest/download/${zipName}"
|
||||
download_with_retries $zipUrl "/tmp" $zipName
|
||||
unzip /tmp/${zipName} -d /tmp
|
||||
/tmp/install
|
||||
|
||||
invoke_tests "CLI.Tools" "AWS"
|
||||
|
||||
Reference in New Issue
Block a user