hydra: Renumber build workers

This commit is contained in:
emily 2024-09-03 14:27:57 +02:00
parent 937f7d2103
commit 9193287ca8
Signed by: emily
GPG key ID: F6F4C66207FCF995

View file

@ -26,13 +26,13 @@
supportedFeatures = [ "nixos-test" "benchmark" "big-parallel" "kvm" "gccarch-x86-64" "gccarch-x86-64-v2" "gccarch-x86-64-v3" ]; supportedFeatures = [ "nixos-test" "benchmark" "big-parallel" "kvm" "gccarch-x86-64" "gccarch-x86-64-v2" "gccarch-x86-64-v3" ];
sshKey = config.sops.secrets."services/hydra/id_ed25519_hydra".path; sshKey = config.sops.secrets."services/hydra/id_ed25519_hydra".path;
} }
) ++ lib.forEach [ "01" "02" "03" "04" ] (num: { ) ++ lib.forEach [ "01" "02" "05" "06" ] (num: {
hostName = "build-worker-${num}"; hostName = "build-worker-${num}";
sshUser = "root"; sshUser = "root";
maxJobs = 6; maxJobs = 4;
speedFactor = 20; speedFactor = 20;
systems = [ "x86_64-linux" ]; systems = [ "x86_64-linux" ];
supportedFeatures = [ "nixos-test" "benchmark" "big-parallel" "kvm" "gccarch-x86-64" "gccarch-x86-64-v2" "gccarch-x86-64-v3" ]; supportedFeatures = [ "nixos-test" "benchmark" "big-parallel" "gccarch-x86-64" "gccarch-x86-64-v2" "gccarch-x86-64-v3" ];
sshKey = config.sops.secrets."services/hydra/id_ed25519_hydra".path; sshKey = config.sops.secrets."services/hydra/id_ed25519_hydra".path;
}); });
nix.settings = { nix.settings = {
@ -64,10 +64,10 @@
Host build-worker-02 Host build-worker-02
Hostname build-worker-kyoumanet.fly.dev Hostname build-worker-kyoumanet.fly.dev
Port 2202 Port 2202
Host build-worker-03 Host build-worker-05
Hostname build-worker-kyoumanet.fly.dev Hostname build-worker-kyoumanet.fly.dev
Port 2203 Port 2203
Host build-worker-04 Host build-worker-06
Hostname build-worker-kyoumanet.fly.dev Hostname build-worker-kyoumanet.fly.dev
Port 2204 Port 2204
''; '';