adjust builder assignments
This commit is contained in:
parent
cae763e8dd
commit
2e7a702c28
|
@ -3,27 +3,18 @@
|
||||||
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 hydra builders
|
genBuilders { offset = 4; count = 2; f = name: {
|
||||||
genBuilders { count = 8; f = name: {
|
|
||||||
cores = 8;
|
cores = 8;
|
||||||
max-jobs = 8;
|
max-jobs = 8;
|
||||||
supported-features = [ "kvm" "nixos-test" ];
|
supported-features = [ "kvm" "nixos-test" ];
|
||||||
required-features = [ ];
|
required-features = [ ];
|
||||||
}; }
|
}; }
|
||||||
++
|
++
|
||||||
# The last 2 builders are exclusively for big-parallel
|
# This builder is exclusively for big-parallel
|
||||||
genBuilders { offset = 8; count = 2; f = name: {
|
genBuilders { offset = 10; count = 1; f = name: {
|
||||||
cores = 20;
|
cores = 20;
|
||||||
max-jobs = 1;
|
max-jobs = 1;
|
||||||
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 = 1; f = name: {
|
|
||||||
cores = 8;
|
|
||||||
max-jobs = 8;
|
|
||||||
supported-features = [ "kvm" "nixos-test" "big-parallel" ];
|
|
||||||
required-features = [ ];
|
|
||||||
}; }
|
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue