r10k: add passthru.tests.version

This commit is contained in:
Anthony Roussel 2024-03-24 16:34:50 +01:00
parent 8928b12689
commit bc833bf025
No known key found for this signature in database
GPG key ID: 9DC4987B1A55E75E

View file

@ -6,6 +6,8 @@
gzip,
lib,
makeWrapper,
r10k,
testers,
}:
bundlerApp {
@ -25,7 +27,14 @@ bundlerApp {
}
'';
passthru.updateScript = bundlerUpdateScript "r10k";
passthru = {
tests.version = testers.testVersion {
command = "${lib.getExe r10k} version";
package = r10k;
version = (import ./gemset.nix).r10k.version;
};
updateScript = bundlerUpdateScript "r10k";
};
meta = {
description = "Puppet environment and module deployment";