From c48260165559bf2cc0d863bacad0c0d56b443bcb Mon Sep 17 00:00:00 2001 From: ahuston-0 Date: Sun, 7 Jul 2024 21:41:40 -0400 Subject: [PATCH] add devchecks agg job, update hydra config Signed-off-by: ahuston-0 --- hydra/jobs.nix | 9 +++++++++ systems/palatine-hill/hydra.nix | 11 ++++++++++- 2 files changed, 19 insertions(+), 1 deletion(-) 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