2024-07-30 14:33:47 +00:00
|
|
|
# This file contains information on which builder(s) are providing how many
|
|
|
|
# job slots and providing which nix features
|
|
|
|
let
|
|
|
|
genBuilders = { offset ? 0, count, f }: builtins.genList (x: rec { name = "builder-${toString (offset + x)}"; value = f name; }) count;
|
|
|
|
in builtins.listToAttrs (
|
2024-07-30 15:23:54 +00:00
|
|
|
# The first 8 builders are general purpose hydra builders
|
2024-07-30 14:33:47 +00:00
|
|
|
genBuilders { count = 8; f = name: {
|
|
|
|
cores = 8;
|
|
|
|
max-jobs = 8;
|
|
|
|
supported-features = [ "kvm" "nixos-test" ];
|
|
|
|
required-features = [ ];
|
|
|
|
}; }
|
|
|
|
++
|
|
|
|
# The last 2 builders are exclusively for big-parallel
|
|
|
|
genBuilders { offset = 8; count = 2; f = name: {
|
|
|
|
cores = 20;
|
|
|
|
max-jobs = 1;
|
|
|
|
supported-features = [ "kvm" "nixos-test" "big-parallel" ];
|
|
|
|
required-features = [ "big-parallel" ];
|
|
|
|
}; }
|
2024-07-30 15:23:54 +00:00
|
|
|
++
|
|
|
|
# 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 = [ ];
|
|
|
|
}; }
|
2024-07-30 14:33:47 +00:00
|
|
|
)
|