forked from lix-project/hydra
hydra-module: Fix typo in the job name in `checkSpace'.
This commit is contained in:
parent
ab4f0911ce
commit
6411d991c7
|
@ -207,10 +207,10 @@ in
|
||||||
''
|
''
|
||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
if [ $(($(stat -f -c '%a' /nix/store) * $(stat -f -c '%S' /nix/store))) -lt $((${toString cfg.minimumDiskFree} * 1024**3)) ]; then
|
if [ $(($(stat -f -c '%a' /nix/store) * $(stat -f -c '%S' /nix/store))) -lt $((${toString cfg.minimumDiskFree} * 1024**3)) ]; then
|
||||||
stop hydra-queue-runner
|
stop hydra_queue_runner
|
||||||
fi
|
fi
|
||||||
if [ $(($(stat -f -c '%a' /nix/store) * $(stat -f -c '%S' /nix/store))) -lt $((${toString cfg.minimumDiskFreeEvaluator} * 1024**3)) ]; then
|
if [ $(($(stat -f -c '%a' /nix/store) * $(stat -f -c '%S' /nix/store))) -lt $((${toString cfg.minimumDiskFreeEvaluator} * 1024**3)) ]; then
|
||||||
stop hydra-evaluator
|
stop hydra_evaluator
|
||||||
fi
|
fi
|
||||||
'';
|
'';
|
||||||
compressLogs = pkgs.writeScript "compress-logs" ''
|
compressLogs = pkgs.writeScript "compress-logs" ''
|
||||||
|
|
Loading…
Reference in a new issue