1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

services: cuirass: Add more configuration fields.

* gnu/services/cuirass.scm (<cuirass-configuration>)[parallel-evaluations]
[evaluation-ttl, web-threads]: New fields.
(cuirass-shepherd-service): Honor them.
* doc/guix.texi (Continuous Integration): Document them.

Change-Id: I33485b978d2a37ee93230b1d425731e6cb3b80e4
This commit is contained in:
Ludovic Courtès
2025-09-05 17:18:18 +02:00
parent 577f8fe184
commit d72eef9c91
3 changed files with 48 additions and 6 deletions

View File

@@ -37863,15 +37863,27 @@ Note that individual jobset specifications may override this in their
@code{period} field; the value specified here is only used for
specifications that use the default @code{period} value, which is zero.
@item @code{parallel-evaluations} (default: @code{#f})
Maximum number of jobset evaluations that may run concurrently. If
@code{#f}, that number is determined based on a number of CPU cores,
with an upper bound of 8.
@item @code{ttl} (default: @code{2592000})
Duration to keep build results' GC roots alive, in seconds.
@item @code{evaluation-ttl} (default: 24 months)
Number of seconds after which an evaluation may be deleted from the
database.
@item @code{build-expiry} (default: 4 months)
Duration in seconds after which pending builds are canceled. This helps
ensure that the backlog does not grow indefinitely.
@item @code{threads} (default: @code{#f})
Number of kernel threads to use for Cuirass. The default value should be appropriate for most cases.
@itemx @code{web-threads} (default: @code{#f})
Number of kernel threads to use for Cuirass (main process) and for the
web interface (the @command{cuirass web} program). The default value
should be appropriate for most cases.
@item @code{parameters} (default: @code{#f})
Read parameters from the given @var{parameters} file. The supported