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