summaryrefslogtreecommitdiffstats
path: root/jjb/apex
diff options
context:
space:
mode:
authorTim Rozet <trozet@redhat.com>2017-07-19 14:41:56 -0400
committerTim Rozet <trozet@redhat.com>2017-07-19 14:41:56 -0400
commit261f4d17188c5699de591ee9a24603898a9e9455 (patch)
treeb979a0517e73a49f7ecedfd7dfcc1fc807ae3fe4 /jjb/apex
parent1033211b48c43a70ac76bc808840576719095065 (diff)
Apex: throttles scenario jobs to only 1 per node
Change-Id: Ia155e3c60be35c0cdd31d6ddb0705dc5c3f6ad42 Signed-off-by: Tim Rozet <trozet@redhat.com>
Diffstat (limited to 'jjb/apex')
-rw-r--r--jjb/apex/apex.yml5
-rw-r--r--jjb/apex/apex.yml.j25
2 files changed, 10 insertions, 0 deletions
diff --git a/jjb/apex/apex.yml b/jjb/apex/apex.yml
index 857cb55ec..6f56dc916 100644
--- a/jjb/apex/apex.yml
+++ b/jjb/apex/apex.yml
@@ -629,6 +629,11 @@
- 'apex-runner.*'
- 'apex-.*-promote.*'
- 'apex-run.*'
+ - 'apex-.+-baremetal-.+'
+ - throttle:
+ max-per-node: 1
+ max-total: 10
+ option: 'project'
builders:
- description-setter:
description: "Deployed on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
diff --git a/jjb/apex/apex.yml.j2 b/jjb/apex/apex.yml.j2
index c2b73b65c..06c2c3e72 100644
--- a/jjb/apex/apex.yml.j2
+++ b/jjb/apex/apex.yml.j2
@@ -573,6 +573,11 @@
- 'apex-runner.*'
- 'apex-.*-promote.*'
- 'apex-run.*'
+ - 'apex-.+-baremetal-.+'
+ - throttle:
+ max-per-node: 1
+ max-total: 10
+ option: 'project'
builders:
- description-setter:
description: "Deployed on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"