Skip to content

Commit

Permalink
use snap for awscli
Browse files Browse the repository at this point in the history
  • Loading branch information
onyxraven committed Nov 29, 2021
1 parent 848cf7d commit 75b849c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 25 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ addons:
snaps:
- name: goreleaser
confinement: classic
- name: aws-cli
confinement: classic

env:
global:
Expand Down
21 changes: 0 additions & 21 deletions scripts/aws

This file was deleted.

8 changes: 4 additions & 4 deletions scripts/deploy
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ if [ ! -e dist/sopstool_checksums.txt ]; then
fi

# also copy up installers
$DIR/aws s3 cp sopsinstall.sh "$S3URL/sopstool/"
$DIR/aws s3 cp sopstoolinstall.sh "$S3URL/sopstool/"
$DIR/aws s3 cp install.sh "$S3URL/sopstool/"
aws s3 cp sopsinstall.sh "$S3URL/sopstool/"
aws s3 cp sopstoolinstall.sh "$S3URL/sopstool/"
aws s3 cp install.sh "$S3URL/sopstool/"

# download sops for reupload to s3
SOPSDIST="dist/sops"
Expand All @@ -39,4 +39,4 @@ $DIR/sopsdownload.sh -o linux "$SOPSDIST"
$DIR/sopsdownload.sh -o darwin "$SOPSDIST"

# put those on s3
$DIR/aws s3 cp --recursive "$SOPSDIST/" "$S3URL/sops/"
aws s3 cp --recursive "$SOPSDIST/" "$S3URL/sops/"

0 comments on commit 75b849c

Please sign in to comment.