94427deb9d
GitOrigin-RevId: f91ee3065de91a3531329a674a45ddcb3467a650
20 lines
471 B
Nix
20 lines
471 B
Nix
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'")
|
|
'';
|
|
})
|