1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 11:40:45 +00:00
nixpkgs/nixos/tests/gollum.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
332 B
Nix
Raw Normal View History

2022-09-10 17:01:37 +01:00
import ./make-test-python.nix ({ pkgs, ... }: {
name = "gollum";
nodes = {
webserver = { pkgs, lib, ... }: {
services.gollum.enable = true;
};
};
testScript = { nodes, ... }: ''
webserver.wait_for_unit("gollum")
2023-03-20 17:26:48 +00:00
webserver.wait_for_open_port(${toString nodes.webserver.services.gollum.port})
2022-09-10 17:01:37 +01:00
'';
})