nixpkgs/nixos/tests/web-apps/kanboard.nix
Zexin Yuan 2ae4dff6ab
nixosTests.kanboard: migrate to runTest
Tracking issue: NixOS#386873
2025-04-03 15:36:13 +08:00

23 lines
434 B
Nix

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