at 25.11-pre 537 B view raw
1import ./make-test-python.nix ( 2 { pkgs, lib, ... }: 3 { 4 name = "code-server"; 5 6 nodes = { 7 machine = 8 { pkgs, ... }: 9 { 10 services.code-server = { 11 enable = true; 12 auth = "none"; 13 }; 14 }; 15 }; 16 17 testScript = '' 18 start_all() 19 machine.wait_for_unit("code-server.service") 20 machine.wait_for_open_port(4444) 21 machine.succeed("curl -k --fail http://localhost:4444", timeout=10) 22 ''; 23 24 meta.maintainers = [ lib.maintainers.drupol ]; 25 } 26)