mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-02 11:03:57 +00:00
26 lines
507 B
Nix
26 lines
507 B
Nix
|
import ../make-test-python.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)
|
||
|
'';
|
||
|
}
|
||
|
)
|