deploy: add remote-builder-01 and my remote builder SSH key
This commit is contained in:
parent
dee54e706d
commit
2a33516e54
3 changed files with 9 additions and 5 deletions
12
krops.nix
12
krops.nix
|
@ -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" ]
|
||||||
|
|
|
@ -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.
|
||||||
|
|
1
machines/remote-builder-01/pubkeys/remote-builders.keys
Normal file
1
machines/remote-builder-01/pubkeys/remote-builders.keys
Normal file
|
@ -0,0 +1 @@
|
||||||
|
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIA3hCOyFwuoCLt5W9e9yQSwj9I+VspB0kNNHsoFngbgZ Raito's remote builder key
|
Loading…
Add table
Reference in a new issue