aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2023-04-29 16:35:29 -0300
committerEuAndreh <eu@euandre.org>2023-04-29 16:35:29 -0300
commitb7ae16aa283deffc145fdee6ccd7f5ea451e237d (patch)
tree17c361ec61a433394f25367dc48cc22b6feb9780
parentsystem.scm: Increase postfix size limits (diff)
downloadserver-b7ae16aa283deffc145fdee6ccd7f5ea451e237d.tar.gz
server-b7ae16aa283deffc145fdee6ccd7f5ea451e237d.tar.xz
gc.sh: Add 1 month window to keep Guix versions
Notes
See CI logs with: git notes --ref=refs/notes/ci-logs show b7ae16aa283deffc145fdee6ccd7f5ea451e237d git notes --ref=refs/notes/ci-data show b7ae16aa283deffc145fdee6ccd7f5ea451e237d Exit status: 1 Duration: 276
-rwxr-xr-xsrc/infrastructure/scripts/gc.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/infrastructure/scripts/gc.sh b/src/infrastructure/scripts/gc.sh
index 7f44626..e037f3c 100755
--- a/src/infrastructure/scripts/gc.sh
+++ b/src/infrastructure/scripts/gc.sh
@@ -91,8 +91,8 @@ today() {
}
gc_guix() {
- sudo -i guix system delete-generations
- sudo -i guix gc -d
+ sudo -i guix system delete-generations 1m
+ sudo -i guix gc -d 1m
}
gc_deploy() {