Loading nixos/tests/all-tests.nix +1 −1 Original line number Diff line number Diff line Loading @@ -580,7 +580,7 @@ in }; gatus = runTest ./gatus.nix; getaddrinfo = runTest ./getaddrinfo.nix; gemstash = handleTest ./gemstash.nix { }; gemstash = import ./gemstash.nix { inherit pkgs runTest; }; geoclue2 = runTest ./geoclue2.nix; geoserver = runTest ./geoserver.nix; gerrit = runTest ./gerrit.nix; Loading nixos/tests/gemstash.nix +16 −32 Original line number Diff line number Diff line { system ? builtins.currentSystem, config ? { }, pkgs ? import ../.. { inherit system config; }, }: with import ../lib/testing-python.nix { inherit system pkgs; }; with pkgs.lib; { runTest, pkgs }: let common_meta = { maintainers = [ maintainers.viraptor ]; }; inherit (pkgs) lib; in { gemstash_works = makeTest { gemstash_works = runTest { name = "gemstash-works"; meta = common_meta; meta.maintainers = with lib.maintainers; [ viraptor ]; nodes.machine = { config, pkgs, ... }: { services.gemstash = { enable = true; }; nodes.machine = { services.gemstash.enable = true; }; # gemstash responds to http requests Loading @@ -34,13 +20,11 @@ in ''; }; gemstash_custom_port = makeTest { gemstash_custom_port = runTest { name = "gemstash-custom-port"; meta = common_meta; meta.maintainers = with lib.maintainers; [ viraptor ]; nodes.machine = { config, pkgs, ... }: { nodes.machine = { services.gemstash = { enable = true; openFirewall = true; Loading Loading
nixos/tests/all-tests.nix +1 −1 Original line number Diff line number Diff line Loading @@ -580,7 +580,7 @@ in }; gatus = runTest ./gatus.nix; getaddrinfo = runTest ./getaddrinfo.nix; gemstash = handleTest ./gemstash.nix { }; gemstash = import ./gemstash.nix { inherit pkgs runTest; }; geoclue2 = runTest ./geoclue2.nix; geoserver = runTest ./geoserver.nix; gerrit = runTest ./gerrit.nix; Loading
nixos/tests/gemstash.nix +16 −32 Original line number Diff line number Diff line { system ? builtins.currentSystem, config ? { }, pkgs ? import ../.. { inherit system config; }, }: with import ../lib/testing-python.nix { inherit system pkgs; }; with pkgs.lib; { runTest, pkgs }: let common_meta = { maintainers = [ maintainers.viraptor ]; }; inherit (pkgs) lib; in { gemstash_works = makeTest { gemstash_works = runTest { name = "gemstash-works"; meta = common_meta; meta.maintainers = with lib.maintainers; [ viraptor ]; nodes.machine = { config, pkgs, ... }: { services.gemstash = { enable = true; }; nodes.machine = { services.gemstash.enable = true; }; # gemstash responds to http requests Loading @@ -34,13 +20,11 @@ in ''; }; gemstash_custom_port = makeTest { gemstash_custom_port = runTest { name = "gemstash-custom-port"; meta = common_meta; meta.maintainers = with lib.maintainers; [ viraptor ]; nodes.machine = { config, pkgs, ... }: { nodes.machine = { services.gemstash = { enable = true; openFirewall = true; Loading