waagent: add passthru.tests

This commit is contained in:
codgician 2024-12-07 23:34:00 +08:00
parent 0d7c515332
commit 2e1477ddc8
No known key found for this signature in database

View file

@ -5,6 +5,7 @@
python3, python3,
bash, bash,
gitUpdater, gitUpdater,
nixosTests,
}: }:
let let
@ -64,9 +65,14 @@ python.pkgs.buildPythonApplication rec {
dontWrapPythonPrograms = false; dontWrapPythonPrograms = false;
passthru.updateScript = gitUpdater { passthru = {
tests = {
inherit (nixosTests) waagent;
};
updateScript = gitUpdater {
rev-prefix = "v"; rev-prefix = "v";
}; };
};
meta = with lib; { meta = with lib; {
description = "Microsoft Azure Linux Agent (waagent)"; description = "Microsoft Azure Linux Agent (waagent)";