hydra-module.nix: Remove log compression which is a local policy
[?]
Nov 12, 2014, 12:47 PM
JKX7AAB6DFY3RVFUGN3Y5MCB6ZBU37VKZANFQ44E3ZRKYTPMH2PACDependencies
- [2]
T4DBPQOFhydra-module: Run hydra-init during hydra-init.service - [3]
UYOMSOGJhydra-module/compressLogs: Avoid creating /root/r. - [4]
BBF7ZJWHhydra-module.nix: Use startAt - [5]
3FTM52B2hydra-module: Always GC to have at least 100 GiB available. - [6]
KMPLMG7Thydra-module.nix: Cleanup - [7]
ZYEFL36QPorted/merged properties from the TUD configuration's hydra-module - [*]
D3MDJONY
Change contents
- edit in hydra-module.nix at line 278[4.1286]→[4.1286:1346](∅→∅),[4.1346]→[3.0:181](∅→∅),[3.181]→[4.1498:1511](∅→∅),[4.1498]→[4.1498:1511](∅→∅)
compressLogs = pkgs.writeScript "compress-logs" ''#! ${pkgs.stdenv.shell} -efind /nix/var/log/nix/drvs \-type f -a ! -newermt 'last month' \-name '*.drv' -exec bzip2 -v {} +''; - edit in hydra-module.nix at line 280
"15 5 * * * root ${compressLogs} &> ${baseDir}/data/compress.log"