rework stirling-pdf to be more generic with test

This commit is contained in:
kurogeek committed 2025-07-31 10:40:31 +07:00
1 parent c5c8e0050d
commit 5109c3f4fa
6 files changed
+88 -34

No files matched your search

@@ -0,0 +1,34 @@
{
...
}:
{
name = "service-stirling-pdf";
clan = {
directory = ./.;
inventory = {
machines.server = { };
instances = {
actual-budget-test = {
module.name = "@clan/stirling-pdf";
module.input = "self";
roles.default.machines."server".settings = { };
};
};
};
};
nodes = {
server = { };
};
testScript = ''
start_all()
server.wait_for_unit("stirling-pdf")
server.succeed("systemctl status stirling-pdf")
'';
}