Merge pull request #218843 from teutat3s/garage-0.8.1

Sandro 5e25ffd5 a8cfd275

Changed files
+19 -14
nixos
tests
garage
pkgs
tools
filesystems
garage
top-level
+1 -1
nixos/tests/garage/default.nix
···
})
{}
[
-
"0_8_0"
+
"0_8"
]
+17 -12
pkgs/tools/filesystems/garage/default.nix
···
{ lib, stdenv, rustPlatform, fetchFromGitea, openssl, pkg-config, protobuf
-
, testers, Security, garage, nixosTests }:
+
, cacert, testers, Security, garage, nixosTests }:
let
generic = { version, sha256, cargoSha256, eol ? false, broken ? false }: rustPlatform.buildRustPackage {
pname = "garage";
···
openssl
] ++ lib.optional stdenv.isDarwin Security;
+
checkInputs = [
+
cacert
+
];
+
OPENSSL_NO_VENDOR = true;
# See https://git.deuxfleurs.fr/Deuxfleurs/garage/src/tag/v0.7.2/default.nix#L84-L98
···
"telemetry-otlp"
"lmdb"
"sqlite"
+
"consul-discovery"
]);
# To make integration tests pass, we include the optional k2v feature here,
-
# but not in buildFeatures. See:
-
# https://garagehq.deuxfleurs.fr/documentation/reference-manual/k2v/
+
# but in buildFeatures only for version 0.8+, where it's enabled by default.
+
# See: https://garagehq.deuxfleurs.fr/documentation/reference-manual/k2v/
checkFeatures = [
"k2v"
"kubernetes-discovery"
···
(lib.optional (lib.versionAtLeast version "0.8") [
"bundled-libs"
"sled"
-
"metrics"
-
"telemetry-otlp"
"lmdb"
"sqlite"
]);
+
# Workaround until upstream fixes integration test race condition
+
# https://git.deuxfleurs.fr/Deuxfleurs/garage/issues/528
+
dontUseCargoParallelTests = true;
+
passthru = nixosTests.garage;
meta = {
···
garage_0_7 = garage_0_7_3;
-
garage_0_8_0 = generic {
-
version = "0.8.0";
-
sha256 = "sha256-c2RhHfg0+YV2E9Ckl1YSc+0nfzbHPIt0JgtT0DND9lA=";
-
cargoSha256 = "sha256-vITXckNOiJbMuQW6/8p7dsZThkjxg/zUy3AZBbn33no=";
-
# On x86_64-darwin, tests are failing.
-
broken = stdenv.isDarwin && stdenv.isx86_64;
+
garage_0_8_1 = generic {
+
version = "0.8.1";
+
sha256 = "sha256-lpNp/jw4YaczG3NM3pVWR0cZ8u/KBQCWvvfAswO4+Do=";
+
cargoSha256 = "sha256-TXHSAnttXfxoFLOP+vsd86O8sVoyrSkadij26cF4aXI=";
};
-
garage_0_8 = garage_0_8_0;
+
garage_0_8 = garage_0_8_1;
garage = garage_0_8;
}
+1 -1
pkgs/top-level/all-packages.nix
···
})
garage
garage_0_7 garage_0_8
-
garage_0_7_3 garage_0_8_0;
+
garage_0_7_3 garage_0_8_1;
garmin-plugin = callPackage ../applications/misc/garmin-plugin { };