hydra: cuirass: Set build log expiry to 9 months.

* hydra/modules/sysadmin/services.scm (cuirass-service): Add
‘log-expiry’ field to <cuirass-remote-server-configuration>.
This commit is contained in:
Ludovic Courtès 2023-10-12 22:25:29 +02:00
parent 8f703892a6
commit 9a3aa691f7
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 3 additions and 1 deletions

View File

@ -674,7 +674,9 @@ to a selected directory.")
(interval (* 10 60))
(remote-server (cuirass-remote-server-configuration
(publish? #f)
(trigger-url "http://127.0.0.1")))
(trigger-url "http://127.0.0.1")
;; Keep build logs for 9 months.
(log-expiry (* 9 30 24 3600))))
(specifications (cuirass-specs branches systems))
(parameters "/etc/cuirass.scm"))))