From d7dbc234f9fa9d30f48db79634596472ed56885b Mon Sep 17 00:00:00 2001 From: Mali Akmanalp Date: Tue, 1 Dec 2015 10:45:55 -0500 Subject: [PATCH] Remove versioned SHA directories from s3 buckets for downloads COL-683 --- scripts/push_downloads_to_s3_colombia.sh | 3 +-- scripts/push_downloads_to_s3_mexico.sh | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/scripts/push_downloads_to_s3_colombia.sh b/scripts/push_downloads_to_s3_colombia.sh index f1ea454..2770699 100755 --- a/scripts/push_downloads_to_s3_colombia.sh +++ b/scripts/push_downloads_to_s3_colombia.sh @@ -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 diff --git a/scripts/push_downloads_to_s3_mexico.sh b/scripts/push_downloads_to_s3_mexico.sh index 0305107..f5eeba3 100755 --- a/scripts/push_downloads_to_s3_mexico.sh +++ b/scripts/push_downloads_to_s3_mexico.sh @@ -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