nixpkgs/nixos/tests/nexus.nix
Maximilian Bosch 3da886bf41
treewide: remove ma27 from the maintainer-list of a few packages
These are all packages that I stopped using and hence just create noise
in my inbox for each change affecting them and let's face it, while I
still enjoy contributing to nixpkgs, it doesn't really make sense to be
listed there if I can't do much anyways.

Each of these packages can be taken over by someone or removed if
people think that's reasonable.

Of course, if other maintainers face issues, I can answer some questions
if needed & possible.
2021-08-27 22:28:49 +02:00

32 lines
711 B
Nix

# verifies:
# 1. nexus service starts on server
# 2. nexus service can startup on server (creating database and all other initial stuff)
# 3. the web application is reachable via HTTP
import ./make-test-python.nix ({ pkgs, ...} : {
name = "nexus";
meta = with pkgs.lib.maintainers; {
maintainers = [ ironpinguin ];
};
nodes = {
server =
{ ... }:
{ virtualisation.memorySize = 2047; # qemu-system-i386 has a 2047M limit
virtualisation.diskSize = 8192;
services.nexus.enable = true;
};
};
testScript = ''
start_all()
server.wait_for_unit("nexus")
server.wait_for_open_port(8081)
server.succeed("curl -f 127.0.0.1:8081")
'';
})