From 3ee35cbbc030fdecda1e0495ea34a5e97f9e2b39 Mon Sep 17 00:00:00 2001 From: Ciprian Hacman Date: Fri, 25 Oct 2024 12:16:46 +0300 Subject: [PATCH] chore: Reduce verbosity for `upload` make target --- Makefile | 2 +- hack/upload | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 55c2fa51a5349..bcb19280d7a07 100644 --- a/Makefile +++ b/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 diff --git a/hack/upload b/hack/upload index 7179fc4fc3d9c..88d05bc752535 100755 --- a/hack/upload +++ b/hack/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