tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
nixos/tests: init portunus
Sandro Jäckel
2 years ago
00000006
00000003
+19
2 changed files
expand all
collapse all
unified
split
nixos
tests
all-tests.nix
portunus.nix
+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
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
1
+
import ./make-test-python.nix ({ lib, ... }:
2
2
+
3
3
+
{
4
4
+
name = "portunus";
5
5
+
meta.maintainers = with lib.maintainers; [ SuperSandro2000 ];
6
6
+
7
7
+
nodes.machine = _: {
8
8
+
services.portunus = {
9
9
+
enable = true;
10
10
+
ldap.suffix = "dc=example,dc=org";
11
11
+
};
12
12
+
};
13
13
+
14
14
+
testScript = ''
15
15
+
machine.wait_for_unit("portunus.service")
16
16
+
machine.succeed("curl --fail -vvv http://localhost:8080/")
17
17
+
'';
18
18
+
})