summaryrefslogtreecommitdiffstats
path: root/jjb/releng
diff options
context:
space:
mode:
authorTrevor Bramwell <tbramwell@linuxfoundation.org>2017-09-25 14:23:13 -0700
committerTrevor Bramwell <tbramwell@linuxfoundation.org>2017-09-25 14:23:13 -0700
commit103ace655789ae022453b0a15d7ecbe802ad83a1 (patch)
tree9927483a3f50c9f09027bc96a834547dd3b4bbae /jjb/releng
parent77b9e3e5787e39fd44a9dcfb73e128e02a32d4e6 (diff)
Throttle Docker Builds to 1 Per-Node
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>
Diffstat (limited to 'jjb/releng')
-rw-r--r--jjb/releng/opnfv-docker-arm.yml5
-rw-r--r--jjb/releng/opnfv-docker.yml5
2 files changed, 10 insertions, 0 deletions
diff --git a/jjb/releng/opnfv-docker-arm.yml b/jjb/releng/opnfv-docker-arm.yml
index acf123142..e48bad2a0 100644
--- a/jjb/releng/opnfv-docker-arm.yml
+++ b/jjb/releng/opnfv-docker-arm.yml
@@ -183,6 +183,11 @@
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
diff --git a/jjb/releng/opnfv-docker.yml b/jjb/releng/opnfv-docker.yml
index 714d8cfb1..088c510c5 100644
--- a/jjb/releng/opnfv-docker.yml
+++ b/jjb/releng/opnfv-docker.yml
@@ -259,6 +259,11 @@
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