From 5154906aac37f16a50cb4a023e2d70800bed0cc3 Mon Sep 17 00:00:00 2001 From: Yureka Date: Tue, 30 Jul 2024 17:23:54 +0200 Subject: [PATCH] fix eval in assignments.nix --- services/baremetal-builder/assignments.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/services/baremetal-builder/assignments.nix b/services/baremetal-builder/assignments.nix index 8a064d1..e1a27de 100644 --- a/services/baremetal-builder/assignments.nix +++ b/services/baremetal-builder/assignments.nix @@ -3,7 +3,7 @@ let genBuilders = { offset ? 0, count, f }: builtins.genList (x: rec { name = "builder-${toString (offset + x)}"; value = f name; }) count; in builtins.listToAttrs ( - # The first 8 builders are general purpose + # The first 8 builders are general purpose hydra builders genBuilders { count = 8; f = name: { cores = 8; max-jobs = 8; @@ -18,4 +18,12 @@ in builtins.listToAttrs ( supported-features = [ "kvm" "nixos-test" "big-parallel" ]; required-features = [ "big-parallel" ]; }; } + ++ + # These are not currently used for hydra + genBuilders { offset = 10; count = 2; f = name: { + cores = 8; + max-jobs = 8; + supported-features = [ "kvm" "nixos-test" "big-parallel" ]; + required-features = [ ]; + }; } )