From 77125e94645b72e7dee4dc26efe777ff43bbf3db Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Tue, 18 Feb 2025 12:16:44 +0100 Subject: [PATCH] add boto3 test for STREAMING-UNSIGNED-PAYLOAD-TRAILER --- flake.lock | 8 ++++---- flake.nix | 4 ++-- script/test-smoke.sh | 17 +++++++++++++++++ shell.nix | 2 ++ 4 files changed, 25 insertions(+), 6 deletions(-) diff --git a/flake.lock b/flake.lock index 2cfbfda4..f1b77c6c 100644 --- a/flake.lock +++ b/flake.lock @@ -50,17 +50,17 @@ }, "nixpkgs": { "locked": { - "lastModified": 1736692550, - "narHash": "sha256-7tk8xH+g0sJkKLTJFOxphJxxOjMDFMWv24nXslaU2ro=", + "lastModified": 1747825515, + "narHash": "sha256-BWpMQymVI73QoKZdcVCxUCCK3GNvr/xa2Dc4DM1o2BE=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "7c4869c47090dd7f9f1bdfb49a22aea026996815", + "rev": "cd2812de55cf87df88a9e09bf3be1ce63d50c1a6", "type": "github" }, "original": { "owner": "NixOS", "repo": "nixpkgs", - "rev": "7c4869c47090dd7f9f1bdfb49a22aea026996815", + "rev": "cd2812de55cf87df88a9e09bf3be1ce63d50c1a6", "type": "github" } }, diff --git a/flake.nix b/flake.nix index fc599e0b..82429a33 100644 --- a/flake.nix +++ b/flake.nix @@ -2,9 +2,9 @@ description = "Garage, an S3-compatible distributed object store for self-hosted deployments"; - # Nixpkgs 24.11 as of 2025-01-12 + # Nixpkgs 25.05 as of 2025-05-22 inputs.nixpkgs.url = - "github:NixOS/nixpkgs/7c4869c47090dd7f9f1bdfb49a22aea026996815"; + "github:NixOS/nixpkgs/cd2812de55cf87df88a9e09bf3be1ce63d50c1a6"; # Rust overlay as of 2025-02-03 inputs.rust-overlay.url = diff --git a/script/test-smoke.sh b/script/test-smoke.sh index acf56a90..eee206ba 100755 --- a/script/test-smoke.sh +++ b/script/test-smoke.sh @@ -112,6 +112,23 @@ if [ -z "$SKIP_S3CMD" ]; then done fi +# BOTO3 +if [ -z "$SKIP_BOTO3" ]; then + echo "🛠️ Testing with boto3 for STREAMING-UNSIGNED-PAYLOAD-TRAILER" + source ${SCRIPT_FOLDER}/dev-env-aws.sh + AWS_ENDPOINT_URL=https://localhost:4443 python <