lol

nixos/tests: init portunus

+19
+1
nixos/tests/all-tests.nix
··· 597 597 podman-tls-ghostunnel = handleTestOn ["aarch64-linux" "x86_64-linux"] ./podman/tls-ghostunnel.nix {}; 598 598 polaris = handleTest ./polaris.nix {}; 599 599 pomerium = handleTestOn ["x86_64-linux"] ./pomerium.nix {}; 600 + portunus = handleTest ./portunus.nix { }; 600 601 postfix = handleTest ./postfix.nix {}; 601 602 postfix-raise-smtpd-tls-security-level = handleTest ./postfix-raise-smtpd-tls-security-level.nix {}; 602 603 postfixadmin = handleTest ./postfixadmin.nix {};
+18
nixos/tests/portunus.nix
··· 1 + import ./make-test-python.nix ({ lib, ... }: 2 + 3 + { 4 + name = "portunus"; 5 + meta.maintainers = with lib.maintainers; [ SuperSandro2000 ]; 6 + 7 + nodes.machine = _: { 8 + services.portunus = { 9 + enable = true; 10 + ldap.suffix = "dc=example,dc=org"; 11 + }; 12 + }; 13 + 14 + testScript = '' 15 + machine.wait_for_unit("portunus.service") 16 + machine.succeed("curl --fail -vvv http://localhost:8080/") 17 + ''; 18 + })