1{ pkgs, ... }:
2{
3 name = "cloudlog";
4 meta = {
5 maintainers = with pkgs.lib.maintainers; [ melling ];
6 };
7 nodes = {
8 machine = {
9 services.mysql.package = pkgs.mariadb;
10 services.cloudlog.enable = true;
11 };
12 };
13 testScript = ''
14 start_all()
15 machine.wait_for_unit("phpfpm-cloudlog")
16 machine.wait_for_open_port(80);
17 machine.wait_until_succeeds("curl -s -L --fail http://localhost | grep 'Login - Cloudlog'")
18 '';
19}