Skip to content

Commit

Permalink
chore: Reduce verbosity for upload make target
Browse files Browse the repository at this point in the history
  • Loading branch information
hakman committed Oct 25, 2024
1 parent 0727479 commit 3ee35cb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion hack/upload
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 3ee35cb

Please sign in to comment.