depot/third_party/nixpkgs/nixos/tests/gollum.nix

21 lines
398 B
Nix

import ./make-test-python.nix (
{ pkgs, ... }:
{
name = "gollum";
nodes = {
webserver =
{ pkgs, lib, ... }:
{
services.gollum.enable = true;
};
};
testScript =
{ nodes, ... }:
''
webserver.wait_for_unit("gollum")
webserver.wait_for_open_port(${toString nodes.webserver.services.gollum.port})
'';
}
)