Skip to content

Commit

Permalink
Add latestJobs to select those we want broken out
Browse files Browse the repository at this point in the history
  • Loading branch information
hamishmack committed Jan 6, 2021
1 parent 019ba55 commit cd07ad4
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion release.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,14 @@ let
lib = genericPkgs.lib;
ci = import ./ci.nix { inherit supportedSystems ifdLevel checkMaterialization; restrictEval = true; };
allJobs = stripAttrsForHydra (filterDerivations ci);
latestJobs = {
# All the jobs are included in the `requiredJobs`, but the ones
# added here will also included without aggregation, making it easier
# to find a failing test. Keep in mind though that adding too many
# of these will slow down eval times.
linux = allJobs.R2009.ghc8102.linux.native;
darwin = allJobs.R2009.ghc8102.darwin.native;
};
names = x: lib.filter (n: n != "recurseForDerivations" && n != "meta")
(builtins.attrNames x);
requiredJobs =
Expand All @@ -28,6 +36,6 @@ let
}) (names ghcJobs)
) (names nixpkgsJobs)
) (names allJobs));
in allJobs // requiredJobs
in latestJobs // requiredJobs


0 comments on commit cd07ad4

Please sign in to comment.