at 21.11-pre 486 B view raw
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 virtualisation.memorySize = 1024; 11 }; 12 }; 13 14 testScript = '' 15 start_all() 16 machine.wait_for_unit("metabase.service") 17 machine.wait_for_open_port(3000) 18 machine.wait_until_succeeds("curl -fL http://localhost:3000/setup | grep Metabase") 19 ''; 20})