aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorArun Isaac2024-01-09 16:31:42 +0000
committerArun Isaac2024-01-09 17:14:10 +0000
commit151940a342848c768e372ec9f232b898ca2c738d (patch)
tree4f856393a832e003538ab0e91dda83189a31748a /doc
parent51e10bab897a98b28ecb7a3ea73640015522b4d5 (diff)
downloadguix-forge-151940a342848c768e372ec9f232b898ca2c738d.tar.gz
guix-forge-151940a342848c768e372ec9f232b898ca2c738d.tar.lz
guix-forge-151940a342848c768e372ec9f232b898ca2c738d.zip
forge: Limit number of parallel CI job runs.
* guix/forge/forge.scm (<forge-project>)[parallel-ci-job-runs]: New field. * guix/forge/forge.scm (forge-ci-jobs): Add project context to CI jobs. (forge-ci-job-contexts): New function. (forge-ci-jobs-and-groups): Rename to forge-ci-jobs+contexts+groups. Also return <forge-laminar-context> objects. (forge-service-type): Call forge-ci-jobs+contexts+groups instead of forge-ci-jobs-and-groups. * doc/forge.skb (Reference)[<forge-project>]{parallel-ci-job-runs}: Document it.
Diffstat (limited to 'doc')
-rw-r--r--doc/forge.skb3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/forge.skb b/doc/forge.skb
index 83b4100..99d1b86 100644
--- a/doc/forge.skb
+++ b/doc/forge.skb
@@ -555,6 +555,9 @@ jobs when a request is received on ,(samp "http://hostname:port/hooks/<name>") \
specified, a cron job triggers the CI jobs once a day.]))]
:default [,(code ['post-receive-hook]) for local repositories
and ,(code ['cron]) for remote repositories])
+ (record-field "parallel-ci-job-runs"
+ [Number of CI job runs of this project to run
+simultaneously])
(record-field "repository-branch"
[Main branch of the repository. This field is currently
unused unused, and may be deprecated in the future.]))