chore: Reduce verbosity for `upload` make target

This commit is contained in:
Ciprian Hacman 2024-10-25 12:16:46 +03:00
parent 07274796a8
commit aec463acf8
2 changed files with 2 additions and 2 deletions

View File

@ -246,7 +246,7 @@ crossbuild-channels: channels-amd64 channels-arm64
.PHONY: upload
upload: version-dist # Upload kops to S3
aws s3 sync --acl public-read ${UPLOAD}/ ${S3_BUCKET}
aws s3 sync --no-progress --acl public-read ${UPLOAD}/ ${S3_BUCKET}
# gcs-upload builds kops and uploads to GCS
.PHONY: gcs-upload

View File

@ -27,7 +27,7 @@ if [[ "${DEST:0:5}" == "s3://" ]]; then
if aws s3api get-bucket-ownership-controls --bucket "${bucket}" | grep -q "BucketOwnerEnforced" 2>/dev/null; then
acl_flag=""
fi
aws s3 sync ${acl_flag} ${SRC} ${DEST}
aws s3 sync --no-progress ${acl_flag} ${SRC} ${DEST}
exit 0
fi