This is an automated email from the git hooks/post-receive script.
civodul pushed a commit to branch master
in repository maintenance.
The following commit(s) were added to refs/heads/master by this push:
new 9a3aa69 hydra: cuirass: Set build log expiry to 9 months.
9a3aa69 is described below
commit 9a3aa691f74380b63d304b9de58291308652dd3d
Author: Ludovic Courtès <[email protected]>
AuthorDate: Thu Oct 12 22:25:29 2023 +0200
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>.
---
hydra/modules/sysadmin/services.scm | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/hydra/modules/sysadmin/services.scm
b/hydra/modules/sysadmin/services.scm
index fecfdde..caf3f23 100644
--- a/hydra/modules/sysadmin/services.scm
+++ b/hydra/modules/sysadmin/services.scm
@@ -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"))))