mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
15 lines
339 B
Nix
15 lines
339 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.config.services.gollum.port})
|
|
'';
|
|
})
|