feat: add connection timeout of 1s for remote builders
This commit is contained in:
parent
74c0c039f1
commit
fee79c8893
2 changed files with 2 additions and 1 deletions
|
|
@ -136,6 +136,7 @@
|
||||||
mkMatch = name: _value: ''
|
mkMatch = name: _value: ''
|
||||||
Match User remotebuild Host ${name}
|
Match User remotebuild Host ${name}
|
||||||
IdentityFile ${config.clan.core.vars.generators.remotebuild.files."ssh.id_ed25519".path}
|
IdentityFile ${config.clan.core.vars.generators.remotebuild.files."ssh.id_ed25519".path}
|
||||||
|
ConnectTimeout 1
|
||||||
'';
|
'';
|
||||||
sshConfig = concatLines (mapAttrsToList mkMatch others);
|
sshConfig = concatLines (mapAttrsToList mkMatch others);
|
||||||
in {
|
in {
|
||||||
|
|
|
||||||
|
|
@ -101,7 +101,7 @@
|
||||||
inventory = {
|
inventory = {
|
||||||
machines = {
|
machines = {
|
||||||
moritz-desktop.tags = ["peer" "client" "worker"];
|
moritz-desktop.tags = ["peer" "client" "worker"];
|
||||||
moritz-laptop.tags = ["peer"];
|
moritz-laptop.tags = ["peer" "client" "worker"];
|
||||||
moritz-server.tags = ["client" "worker"];
|
moritz-server.tags = ["client" "worker"];
|
||||||
};
|
};
|
||||||
instances."remote-builders" = {
|
instances."remote-builders" = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue