From b06244e88cd83a91aea4579bf8857df4be3bb3d0 Mon Sep 17 00:00:00 2001 From: Conrad Kramer Date: Sun, 7 Jun 2026 17:43:04 -0700 Subject: [PATCH] Disable optional AWS checksums for Garage uploads --- Scripts/ci/backup-garage-to-gcs.sh | 2 ++ Scripts/ci/upload-release-garage.sh | 2 ++ 2 files changed, 4 insertions(+) diff --git a/Scripts/ci/backup-garage-to-gcs.sh b/Scripts/ci/backup-garage-to-gcs.sh index fb7c08c..9bd95e5 100755 --- a/Scripts/ci/backup-garage-to-gcs.sh +++ b/Scripts/ci/backup-garage-to-gcs.sh @@ -24,6 +24,8 @@ fi export AWS_DEFAULT_REGION="${BURROW_GARAGE_REGION:-garage}" export AWS_EC2_METADATA_DISABLED=true +export AWS_REQUEST_CHECKSUM_CALCULATION="${AWS_REQUEST_CHECKSUM_CALCULATION:-when_required}" +export AWS_RESPONSE_CHECKSUM_VALIDATION="${AWS_RESPONSE_CHECKSUM_VALIDATION:-when_required}" requested_releases=0 requested_packages=0 diff --git a/Scripts/ci/upload-release-garage.sh b/Scripts/ci/upload-release-garage.sh index 91b4580..f5019aa 100755 --- a/Scripts/ci/upload-release-garage.sh +++ b/Scripts/ci/upload-release-garage.sh @@ -27,5 +27,7 @@ destination="s3://${bucket}/builds/${BUILD_NUMBER}" export AWS_DEFAULT_REGION="$region" export AWS_EC2_METADATA_DISABLED=true +export AWS_REQUEST_CHECKSUM_CALCULATION="${AWS_REQUEST_CHECKSUM_CALCULATION:-when_required}" +export AWS_RESPONSE_CHECKSUM_VALIDATION="${AWS_RESPONSE_CHECKSUM_VALIDATION:-when_required}" aws --endpoint-url "$BURROW_GARAGE_ENDPOINT" s3 sync "$source_dir" "$destination" --no-progress