mirror of
https://github.com/falcosecurity/falco.git
synced 2025-06-28 15:47:25 +00:00
fix(scripts): aws cp instead of aws sync
Signed-off-by: Jason Dellaluce <jasondellaluce@gmail.com>
This commit is contained in:
parent
9b644d893b
commit
4bc7d3fa65
@ -180,7 +180,7 @@ if [ "${sign_all}" ]; then
|
|||||||
sign_deb ${tmp_repo_path} ${debSuite} ${file}
|
sign_deb ${tmp_repo_path} ${debSuite} ${file}
|
||||||
|
|
||||||
echo "Syncing ${package}.asc to ${s3_bucket_repo}..."
|
echo "Syncing ${package}.asc to ${s3_bucket_repo}..."
|
||||||
aws s3 sync ${tmp_repo_path}/${debSuite}/${package}.asc ${s3_bucket_repo}/${debSuite}/${package}.asc --delete --acl public-read
|
aws s3 cp ${tmp_repo_path}/${debSuite}/${package}.asc ${s3_bucket_repo}/${debSuite}/${package}.asc --acl public-read
|
||||||
aws cloudfront create-invalidation --distribution-id ${AWS_CLOUDFRONT_DIST_ID} --paths ${cloudfront_path}/${debSuite}/${package}.asc
|
aws cloudfront create-invalidation --distribution-id ${AWS_CLOUDFRONT_DIST_ID} --paths ${cloudfront_path}/${debSuite}/${package}.asc
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
@ -107,7 +107,7 @@ if [ "${sign_all}" ]; then
|
|||||||
sign_rpm ${tmp_repo_path} ${file}
|
sign_rpm ${tmp_repo_path} ${file}
|
||||||
|
|
||||||
echo "Syncing ${package}.asc to ${s3_bucket_repo}..."
|
echo "Syncing ${package}.asc to ${s3_bucket_repo}..."
|
||||||
aws s3 sync ${tmp_repo_path}/${package}.asc ${s3_bucket_repo}/${package}.asc --delete --acl public-read
|
aws s3 cp ${tmp_repo_path}/${package}.asc ${s3_bucket_repo}/${package}.asc --acl public-read
|
||||||
aws cloudfront create-invalidation --distribution-id ${AWS_CLOUDFRONT_DIST_ID} --paths ${cloudfront_path}/${package}.asc
|
aws cloudfront create-invalidation --distribution-id ${AWS_CLOUDFRONT_DIST_ID} --paths ${cloudfront_path}/${package}.asc
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user