fix(ci): update sync in deb and rpm scripts with acl

Signed-off-by: Luca Guerra <luca@guerra.sh>
This commit is contained in:
Luca Guerra 2024-02-08 15:07:38 +00:00 committed by poiana
parent a9e1bfef42
commit d69f329b54
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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