Merge pull request #200094 from mdlayher/mdl-zrepl

Sandro 4f8277ef 300c5a8b

Changed files
+16 -16
nixos
doc
manual
from_md
release-notes
release-notes
tests
pkgs
tools
backup
zrepl
top-level
+8
nixos/doc/manual/from_md/release-notes/rl-2211.section.xml
···
</listitem>
<listitem>
<para>
+
The <literal>zrepl</literal> package has been updated from
+
0.5.0 to 0.6.0. See the
+
<link xlink:href="https://zrepl.github.io/changelog.html">changelog</link>
+
for details.
+
</para>
+
</listitem>
+
<listitem>
+
<para>
<literal>k3s</literal> no longer supports docker as runtime
due to upstream dropping support.
</para>
+2
nixos/doc/manual/release-notes/rl-2211.section.md
···
- The default `kops` version is now 1.25.1 and support for 1.22 and older has been dropped.
+
- The `zrepl` package has been updated from 0.5.0 to 0.6.0. See the [changelog](https://zrepl.github.io/changelog.html) for details.
+
- `k3s` no longer supports docker as runtime due to upstream dropping support.
- `cassandra_2_1` and `cassandra_2_2` have been removed. Please update to `cassandra_3_11` or `cassandra_3_0`. See the [changelog](https://github.com/apache/cassandra/blob/cassandra-3.11.14/NEWS.txt) for more information about the upgrade process.
+2 -2
nixos/tests/zrepl.nix
···
out = host.succeed("curl -f localhost:9811/metrics")
assert (
-
"zrepl_version_daemon" in out
-
), "zrepl version metric was not found in Prometheus output"
+
"zrepl_start_time" in out
+
), "zrepl start time metric was not found in Prometheus output"
assert (
"zrepl_zfs_snapshot_duration_count{filesystem=\"test\"}" in out
+3 -11
pkgs/tools/backup/zrepl/default.nix
···
}:
buildGoModule rec {
pname = "zrepl";
-
version = "0.5.0";
+
version = "0.6.0";
src = fetchFromGitHub {
owner = "zrepl";
repo = "zrepl";
rev = "v${version}";
-
sha256 = "4q/wwlF11HPDS2lTXUizJ3RFQ9sX5qNnWZUKAgnvDiE=";
+
sha256 = "sha256-XazwuaAzgTuKITF1mYihsNwkIKi5fvZrCvlCDKwxj4U=";
};
-
patches = [
-
# fix build with go 1.18
-
(fetchpatch {
-
url = "https://github.com/zrepl/zrepl/commit/19b2deb2cfe5e63b944fa83d12f474b11946ca3f.patch";
-
sha256 = "sha256-/SQhU1LnN2n4nwgWF6mq7sW2u52y8mwr6yntakAvSuk=";
-
})
-
];
-
-
vendorSha256 = "sha256-xToq9pKAxxknh4kE8S3uUg5ySPMbJkLftkMhofNxotc=";
+
vendorSha256 = "sha256-75fGejR7eiECsm1j3yIU1lAWaW9GrorrVnv8JEzkAtU=";
subPackages = [ "." ];
+1 -3
pkgs/top-level/all-packages.nix
···
zfs-replicate = python3Packages.callPackage ../tools/backup/zfs-replicate { };
-
zrepl = callPackage ../tools/backup/zrepl {
-
buildGoModule = buildGo118Module; # nixosTests.zrepl fails with 1.19
-
};
+
zrepl = callPackage ../tools/backup/zrepl { };
uhubctl = callPackage ../tools/misc/uhubctl {};