summaryrefslogtreecommitdiffstats
path: root/nixos/tests/web-apps/kanboard.nix
blob: ec0fd0afff3bbebf1493e9117dc3618d6c465b7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ 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)
  '';
}