Only remove /run/hydra-machines if nutty-noon.int.chir.rs is down
This commit is contained in:
parent
58627e931b
commit
90426985e2
1 changed files with 2 additions and 1 deletions
|
@ -92,9 +92,10 @@ in
|
|||
Type = "oneshot";
|
||||
};
|
||||
script = ''
|
||||
rm -f /run/hydra-machines
|
||||
if ${pkgs.iputils}/bin/ping -c 1 nutty-noon.int.chir.rs; then
|
||||
echo "build-pc armv7l-linux,aarch64-linux,powerpc-linux,powerpc64-linux,powerpc64le-linux,riscv32-linux,riscv64-linux,wasm32-wasi,x86_64-linux,i686-linux - 16 2 kvm,nixos-test,big-parallel,benchmark,gccarch-znver2,gccarch-znver1,gccarch-skylake,ca-derivations -" > /run/hydra-machines
|
||||
else
|
||||
rm -f /run/hydra-machines
|
||||
fi
|
||||
'';
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue