@cryptotaxi247 / infra / commits / d589a6b8

staging-hydra: use zstd for all cache compression

Switch NAR, .ls listing, narinfo and log compression on the staging cache from brotli to zstd to exercise the zstd upload/download path end to end.

Jörg Thalheim committed Jun 20, 2026 at 17:57 UTC d589a6b84ccf85a623cddb92d80773c24e24e0cf
1 file changed +2 -2
non-critical-infra/hosts/staging-hydra/hydra.nix
+2 -2
@@ -73,7 +73,7 @@ in
73 extraConfig = ''
74 max_servers 30
75
76 - store_uri = s3://nix-cache-staging?secret-key=${config.sops.secrets.signing-key.path}&ls-compression=br&log-compression=br
76 + store_uri = s3://nix-cache-staging?secret-key=${config.sops.secrets.signing-key.path}&compression=zstd&ls-compression=zstd&log-compression=zstd&narinfo-compression=zstd
77 server_store_uri = https://cache-staging.nixos.org?local-nar-cache=${narCache}
78 binary_cache_public_uri = https://cache-staging.nixos.org
79
@@ -124,7 +124,7 @@ in
124 # system and we'd abort buildable steps as unsupported (hydra#1805)
125 maxUnsupportedTimeInS = 86400;
126 remoteStoreAddr = [
127 - "s3://nix-cache-staging?secret-key=${config.sops.secrets.signing-key.path}&ls-compression=br&log-compression=br"
127 + "s3://nix-cache-staging?secret-key=${config.sops.secrets.signing-key.path}&compression=zstd&ls-compression=zstd&log-compression=zstd&narinfo-compression=zstd"
128 ];
129 usePresignedUploads = true;
130 forcedSubstituters = [ "https://cache-staging.nixos.org" ];