deploy: add remote-builder-01 and my remote builder SSH key

This commit is contained in:
Raito Bezarius 2021-07-29 00:08:48 +02:00
parent dee54e706d
commit 2a33516e54
3 changed files with 9 additions and 5 deletions

View file

@ -24,9 +24,11 @@ let
}; };
}; };
mkTestsConfig = hostnames: builtins.listToAttrs (map mkTestConfig hostnames); mkTestsConfig = hostnames: builtins.listToAttrs (map mkTestConfig hostnames);
in { mkDeploy = hostname: target: { ${hostname} = pkgs.krops.writeDeploy "deploy-${hostname}" {
core-services-01 = pkgs.krops.writeDeploy "deploy-core-services-01" { source = source hostname;
source = source "core-services-01"; inherit target;
target = "root@core01.internal.rz.ens.wtf";
}; };
} // mkTestsConfig [ "core-services-01" "remote-builder-01" ] in {}
// mkDeploy "core-services-01" "root@core01.internal.rz.ens.wtf"
// mkDeploy "remote-builder-01" "root@nix01.builders.rz.ens.wtf"
// mkTestsConfig [ "core-services-01" "remote-builder-01" ]

View file

@ -64,6 +64,7 @@
./pubkeys/gdd.keys ./pubkeys/gdd.keys
./pubkeys/raito.keys ./pubkeys/raito.keys
./pubkeys/hackens-milieu.keys ./pubkeys/hackens-milieu.keys
./pubkeys/remote-builders.keys
]; ];
# Open ports in the firewall. # Open ports in the firewall.

View file

@ -0,0 +1 @@
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIA3hCOyFwuoCLt5W9e9yQSwj9I+VspB0kNNHsoFngbgZ Raito's remote builder key