nixpkgs/nixos/tests/web-apps/kanboard.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
434 B
Nix
Raw Normal View History

{ lib, ... }:
2024-12-09 09:17:10 +08:00
{
name = "kanboard";
meta.maintainers = with lib.maintainers; [ yzx9 ];
2024-12-09 09:17:10 +08:00
nodes = {
machine = {
services.kanboard = {
enable = true;
2024-12-09 09:17:10 +08:00
};
};
};
2024-12-09 09:17:10 +08:00
testScript = ''
start_all()
machine.wait_for_unit("nginx.service")
machine.wait_for_unit("phpfpm-kanboard.service")
machine.wait_for_open_port(80)
2024-12-09 09:17:10 +08:00
machine.succeed("curl -k --fail http://localhost", timeout=10)
'';
}