Unverified Commit 2e1477dd authored by codgician's avatar codgician
Browse files

waagent: add passthru.tests

parent 0d7c5153
Loading
Loading
Loading
Loading
+8 −2
Original line number Diff line number Diff line
@@ -5,6 +5,7 @@
  python3,
  bash,
  gitUpdater,
  nixosTests,
}:

let
@@ -64,9 +65,14 @@ python.pkgs.buildPythonApplication rec {

  dontWrapPythonPrograms = false;

  passthru.updateScript = gitUpdater {
  passthru = {
    tests = {
      inherit (nixosTests) waagent;
    };
    updateScript = gitUpdater {
      rev-prefix = "v";
    };
  };

  meta = with lib; {
    description = "Microsoft Azure Linux Agent (waagent)";