blob: dbfaf515e25769fa998b61e65cd7b5b8a30b84e3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
import ./make-test-python.nix ({ lib, ... }:
{
name = "jirafeau";
meta.maintainers = with lib.maintainers; [ davidtwco ];
nodes.machine = { pkgs, ... }: {
services.jirafeau = {
enable = true;
};
};
testScript = ''
machine.start()
machine.wait_for_unit("phpfpm-jirafeau.service")
machine.wait_for_unit("nginx.service")
machine.wait_for_open_port(80)
machine.succeed("curl -sSfL http://localhost/ | grep 'Jirafeau'")
'';
})
|