mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 22:36:23 +01:00
14 lines
332 B
Nix
14 lines
332 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})
|
|
'';
|
|
})
|