mirror of https://github.com/kubernetes/kops.git
chore: Reduce verbosity for `upload` make target
This commit is contained in:
parent
07274796a8
commit
aec463acf8
2
Makefile
2
Makefile
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue