From 151940a342848c768e372ec9f232b898ca2c738d Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Tue, 9 Jan 2024 16:31:42 +0000 Subject: forge: Limit number of parallel CI job runs. * guix/forge/forge.scm ()[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 objects. (forge-service-type): Call forge-ci-jobs+contexts+groups instead of forge-ci-jobs-and-groups. * doc/forge.skb (Reference)[]{parallel-ci-job-runs}: Document it. --- doc/forge.skb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'doc') 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/") \ 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.])) -- cgit v1.2.3