From 103ace655789ae022453b0a15d7ecbe802ad83a1 Mon Sep 17 00:00:00 2001 From: Trevor Bramwell Date: Mon, 25 Sep 2017 14:23:13 -0700 Subject: [PATCH] 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 --- jjb/releng/opnfv-docker-arm.yml | 5 +++++ jjb/releng/opnfv-docker.yml | 5 +++++ 2 files changed, 10 insertions(+) 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 -- 2.16.6