diff options
author | Vincent Ambo <mail@tazj.in> | 2021-04-14T16·16+0200 |
---|---|---|
committer | tazjin <mail@tazj.in> | 2021-04-14T19·37+0000 |
commit | cc903bc3b045486af514b03d61102eea4db69bd4 (patch) | |
tree | 87c7d14fd62c5361fac6a6b204256530bf0250ad /ops/pipelines/depot.nix | |
parent | 605302091d6f35f6c6cd56170fde1c932cdb28ee (diff) |
feat(ops/modules): Add module for automatically collecting garbage r/2511
Adds a module that automatically collects garbage based on disk space thresholds, and configures it to run hourly on whitby. This is implemented as an alternative to cl/2937, which I've been told uses a Nix feature that doesn't actually work. Under-the-hood this is simply a systemd timer running a shell script which checks available disk space and runs GC when necessary. Change-Id: I3c6b5de85b74ea52e7e16c53f2f900e0911c9805 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3014 Tested-by: BuildkiteCI Reviewed-by: lukegb <lukegb@tvl.fyi>
Diffstat (limited to 'ops/pipelines/depot.nix')
0 files changed, 0 insertions, 0 deletions