hydra: fix ssh connection to remote builder

This commit is contained in:
chayleaf 2023-10-18 21:14:46 +07:00
parent e1a1307a23
commit 57d08c6c0e

View file

@ -150,9 +150,11 @@ in {
{
hostName = cfg.laptopHostname;
maxJobs = 2;
protocol = "ssh-ng";
# TODO: switch to ssh-ng https://github.com/NixOS/hydra/issues/688
protocol = "ssh";
systems = [ "x86_64-linux" ];
supportedFeatures = [ "benchmark" "big-parallel" "ca-derivations" "kvm" "nixos-test" ];
# hydra-queue-runner must have read access to this
sshKey = "/secrets/hydra-builder-key";
sshUser = "hydra-builder";
publicHostKey = cfg.laptopPublicKey;