1 import ./make-test-python.nix (
5 192.168.13.12 agenda.example.com
10 meta.maintainers = with pkgs.lib.maintainers; [ jbgi ];
20 address = "192.168.13.12";
26 firewall.allowedTCPPorts = [ 80 ];
28 environment.systemPackages = [ pkgs.gancio ];
32 hostname = "agenda.example.com";
33 db.dialect = "postgres";
35 plugins = [ pkgs.gancioPlugins.telegram-bridge ];
39 description = "My new registration page description";
53 environment.systemPackages = [ pkgs.jq ];
58 address = "192.168.13.1";
71 server.wait_for_unit("postgresql")
72 server.wait_for_unit("gancio")
73 server.wait_for_unit("nginx")
74 server.wait_for_file("/run/gancio/socket")
75 server.wait_for_open_port(80)
77 # Check can create user via cli
78 server.succeed("cd /var/lib/gancio && sudo -u gancio gancio users create admin dummy admin")
80 # Check event list is returned
81 client.wait_until_succeeds("curl --verbose --fail-with-body http://agenda.example.com/api/events", timeout=30)