Skip to content

Commit

Permalink
Remove versioned SHA directories from s3 buckets for downloads COL-683
Browse files Browse the repository at this point in the history
  • Loading branch information
makmanalp committed Dec 1, 2015
1 parent da53822 commit d7dbc23
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions scripts/push_downloads_to_s3_colombia.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
set -e
read -p "Paste in the SHA of the commit that generated these downloads, to name the s3 bucket: " s3_sha
aws s3 sync downloads/ s3://datlas-colombia-downloads/$s3_sha/ --content-encoding=gzip --acl=public-read --profile datlas-colombia-downloads-prod
aws s3 sync downloads/ s3://datlas-colombia-downloads/ --content-encoding=gzip --acl=public-read --profile datlas-colombia-downloads-prod
3 changes: 1 addition & 2 deletions scripts/push_downloads_to_s3_mexico.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
set -e
read -p "Paste in the SHA of the commit that generated these downloads, to name the s3 bucket: " s3_sha
aws s3 sync downloads/ s3://datlas-mexico-downloads-prod/$s3_sha/ --content-encoding=gzip --acl=public-read --profile datlas-mexico-downloads-prod
aws s3 sync downloads/ s3://datlas-mexico-downloads-prod/ --content-encoding=gzip --acl=public-read --profile datlas-mexico-downloads-prod

0 comments on commit d7dbc23

Please sign in to comment.