From d69f329b547cea74212d03f9f7710a65d122eda2 Mon Sep 17 00:00:00 2001 From: Luca Guerra Date: Thu, 8 Feb 2024 15:07:38 +0000 Subject: [PATCH] fix(ci): update sync in deb and rpm scripts with acl Signed-off-by: Luca Guerra --- scripts/publish-deb | 2 +- scripts/publish-rpm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/publish-deb b/scripts/publish-deb index 01e5df1d..cd8f44a8 100755 --- a/scripts/publish-deb +++ b/scripts/publish-deb @@ -262,5 +262,5 @@ aws cloudfront create-invalidation --distribution-id ${AWS_CLOUDFRONT_DIST_ID} - # delete packages that have been pruned # the dryrun option is there so we can check that we're doing the right thing, can be removed after testing if [[ ${repo} == "deb-dev" ]]; then - aws s3 sync "${tmp_repo_path}/${debSuite}" ${s3_bucket_repo} --dryrun --delete + aws s3 sync "${tmp_repo_path}/${debSuite}" ${s3_bucket_repo} --dryrun --delete --acl public-read fi diff --git a/scripts/publish-rpm b/scripts/publish-rpm index 382e044b..96b0348d 100755 --- a/scripts/publish-rpm +++ b/scripts/publish-rpm @@ -189,5 +189,5 @@ aws cloudfront create-invalidation --distribution-id ${AWS_CLOUDFRONT_DIST_ID} - # delete packages that have been pruned # the dryrun option is there so we can check that we're doing the right thing, can be removed after testing if [[ ${repo} == "rpm-dev" ]]; then - aws s3 sync ${tmp_repo_path} ${s3_bucket_repo} --dryrun --delete + aws s3 sync ${tmp_repo_path} ${s3_bucket_repo} --dryrun --delete --acl public-read fi