diff options
author | Jörg Thalheim <joerg@thalheim.io> | 2022-09-10 18:01:37 +0200 |
---|---|---|
committer | Jörg Thalheim <joerg@thalheim.io> | 2022-09-10 18:09:08 +0200 |
commit | ad0108d803c9e74c08d70061301d8780e428abe5 (patch) | |
tree | b49c075f021554099e25e34021db9ebaab119546 /nixos/tests/gollum.nix | |
parent | 6a66cf1b901efaf1b711c7d4423fc09e001ad13e (diff) |
nixos/gollum: add test
Diffstat (limited to 'nixos/tests/gollum.nix')
-rw-r--r-- | nixos/tests/gollum.nix | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/nixos/tests/gollum.nix b/nixos/tests/gollum.nix new file mode 100644 index 0000000000000..833db87f2f326 --- /dev/null +++ b/nixos/tests/gollum.nix @@ -0,0 +1,14 @@ +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}) + ''; +}) |