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