nixpkgs-suyu/nixos/tests/gollum.nix

15 lines
339 B
Nix
Raw Normal View History

2022-09-10 18:01:37 +02:00
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.config.services.gollum.port})
'';
})