at master 435 B view raw
1{ pkgs, lib, ... }: 2{ 3 name = "phylactery"; 4 5 nodes.machine = 6 { ... }: 7 { 8 services.phylactery = rec { 9 enable = true; 10 port = 8080; 11 library = "/tmp"; 12 }; 13 }; 14 15 testScript = '' 16 start_all() 17 machine.wait_for_unit('phylactery') 18 machine.wait_for_open_port(8080) 19 machine.wait_until_succeeds('curl localhost:8080') 20 ''; 21 22 meta.maintainers = with lib.maintainers; [ McSinyx ]; 23}