Throttle Docker Builds to 1 Per-Node 63/43063/1
authorTrevor Bramwell <tbramwell@linuxfoundation.org>
Mon, 25 Sep 2017 21:23:13 +0000 (14:23 -0700)
committerTrevor Bramwell <tbramwell@linuxfoundation.org>
Mon, 25 Sep 2017 21:23:13 +0000 (14:23 -0700)
Docker builds are currently timing out when multiple builds are running
on the same node. Builds start in parallel but Docker only allows one
to run at a time. By throttling builds to 1 per-node Docker builds will
run sequentially, as they are currently, but not timeout.

JIRA: RELENG-315

Change-Id: Ib64252f9449cccdc35856debafd3bcb8796f1100
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
jjb/releng/opnfv-docker-arm.yml
jjb/releng/opnfv-docker.yml

index acf1231..e48bad2 100644 (file)
             default: "{arch_tag}"
             description: "If set, this value will be added to the docker image tag"
 
+    properties:
+        - throttle:
+            max-per-node: 1
+            option: 'project'
+
     scm:
         - git-scm
 
index 714d8cf..088c510 100644 (file)
             default: "{arch_tag}"
             description: "If set, this value will be added to the docker image tag as a prefix"
 
+    properties:
+        - throttle:
+            max-per-node: 1
+            option: 'project'
+
     scm:
         - git-scm