ae1b531433
GitOrigin-RevId: 1dc37370c489b610f8b91d7fdd40633163ffbafd
20 lines
493 B
Nix
20 lines
493 B
Nix
import ./make-test-python.nix ({ pkgs, ... }: {
|
|
name = "metabase";
|
|
meta = with pkgs.stdenv.lib.maintainers; {
|
|
maintainers = [ mmahut ];
|
|
};
|
|
|
|
nodes = {
|
|
machine = { ... }: {
|
|
services.metabase.enable = true;
|
|
virtualisation.memorySize = 1024;
|
|
};
|
|
};
|
|
|
|
testScript = ''
|
|
start_all()
|
|
machine.wait_for_unit("metabase.service")
|
|
machine.wait_for_open_port(3000)
|
|
machine.wait_until_succeeds("curl -fL http://localhost:3000/setup | grep Metabase")
|
|
'';
|
|
})
|