1import ./make-test-python.nix ({ pkgs, ... }: {
2 name = "metabase";
3 meta = with pkgs.lib.maintainers; {
4 maintainers = [ mmahut ];
5 };
6
7 nodes = {
8 machine = { ... }: {
9 services.metabase.enable = true;
10 };
11 };
12
13 testScript = ''
14 start_all()
15 machine.wait_for_unit("metabase.service")
16 machine.wait_for_open_port(3000)
17 machine.wait_until_succeeds("curl -fL http://localhost:3000/setup | grep Metabase")
18 '';
19})