forked from the-distro/infra
fix eval in assignments.nix
This commit is contained in:
parent
f3828368e6
commit
5154906aac
|
@ -3,7 +3,7 @@
|
||||||
let
|
let
|
||||||
genBuilders = { offset ? 0, count, f }: builtins.genList (x: rec { name = "builder-${toString (offset + x)}"; value = f name; }) count;
|
genBuilders = { offset ? 0, count, f }: builtins.genList (x: rec { name = "builder-${toString (offset + x)}"; value = f name; }) count;
|
||||||
in builtins.listToAttrs (
|
in builtins.listToAttrs (
|
||||||
# The first 8 builders are general purpose
|
# The first 8 builders are general purpose hydra builders
|
||||||
genBuilders { count = 8; f = name: {
|
genBuilders { count = 8; f = name: {
|
||||||
cores = 8;
|
cores = 8;
|
||||||
max-jobs = 8;
|
max-jobs = 8;
|
||||||
|
@ -18,4 +18,12 @@ in builtins.listToAttrs (
|
||||||
supported-features = [ "kvm" "nixos-test" "big-parallel" ];
|
supported-features = [ "kvm" "nixos-test" "big-parallel" ];
|
||||||
required-features = [ "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 = [ ];
|
||||||
|
}; }
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue