hydra-module.nix: Remove log compression which is a local policy

[?]
Nov 12, 2014, 12:47 PM
JKX7AAB6DFY3RVFUGN3Y5MCB6ZBU37VKZANFQ44E3ZRKYTPMH2PAC

Dependencies

  • [2] T4DBPQOF hydra-module: Run hydra-init during hydra-init.service
  • [3] UYOMSOGJ hydra-module/compressLogs: Avoid creating /root/r.
  • [4] BBF7ZJWH hydra-module.nix: Use startAt
  • [5] 3FTM52B2 hydra-module: Always GC to have at least 100 GiB available.
  • [6] KMPLMG7T hydra-module.nix: Cleanup
  • [7] ZYEFL36Q Ported/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} -e
    find /nix/var/log/nix/drvs \
    -type f -a ! -newermt 'last month' \
    -name '*.drv' -exec bzip2 -v {} +
    '';
  • edit in hydra-module.nix at line 280
    [2.384][2.384:461]()
    "15 5 * * * root ${compressLogs} &> ${baseDir}/data/compress.log"