diff --git a/hydra/jobs.nix b/hydra/jobs.nix index 18466d3..6004c31 100644 --- a/hydra/jobs.nix +++ b/hydra/jobs.nix @@ -15,4 +15,13 @@ rec { name = "hosts"; constituents = mapAttrsToList hostToAgg host; }; + + devChecks = pkgs.releaseTools.aggregate { + name = "devChecks"; + constituents = [ + formatter + devShells + checks + ]; + }; } diff --git a/systems/palatine-hill/hydra.nix b/systems/palatine-hill/hydra.nix index 932cbe5..f831136 100644 --- a/systems/palatine-hill/hydra.nix +++ b/systems/palatine-hill/hydra.nix @@ -57,7 +57,16 @@ in # check hosts and any declared checks - jobs = (build-fork-hydra):pr-.*:(hosts|checks.*) + jobs = (build-fork-hydra):pr-.*:hosts + context = ci/hydra: hosts + inputs = nixexpr + useShortContext = true + excludeBuildFromContext = 1 + + + # check hosts and any declared checks + jobs = (build-fork-hydra):pr-.*:devChecks + context = ci/hydra: checks inputs = nixexpr useShortContext = true excludeBuildFromContext = 1