summaryrefslogtreecommitdiffstats
path: root/jjb
diff options
context:
space:
mode:
authorTim Rozet <trozet@redhat.com>2018-07-12 11:07:23 -0400
committerTim Rozet <trozet@redhat.com>2018-07-12 11:07:23 -0400
commitc9e3e9dd2572d394f3f00e5ba02460ad2db5bd78 (patch)
tree01d2466a06dfc20a364de7c96d1e8f4652e363f7 /jjb
parent740212c59d43970182745e0a39efe1b6dd97b81b (diff)
Apex: Update blocking for csit promotion job
Ensure only one csit promotion job runs on a node at a time. Change-Id: Iab36f267f880347e0090fd87b91c9d7e28fbc4f4 Signed-off-by: Tim Rozet <trozet@redhat.com>
Diffstat (limited to 'jjb')
-rw-r--r--jjb/apex/apex.yaml5
-rw-r--r--jjb/apex/apex.yaml.j25
2 files changed, 10 insertions, 0 deletions
diff --git a/jjb/apex/apex.yaml b/jjb/apex/apex.yaml
index 773577f97..3c9c77f8b 100644
--- a/jjb/apex/apex.yaml
+++ b/jjb/apex/apex.yaml
@@ -823,6 +823,11 @@
- 'apex-verify.*'
- 'apex-runner.*'
- 'apex-daily.*'
+ - 'apex-csit-promote.*'
+ - throttle:
+ max-per-node: 1
+ max-total: 10
+ option: 'project'
triggers:
- timed: '0 12 * * 0'
diff --git a/jjb/apex/apex.yaml.j2 b/jjb/apex/apex.yaml.j2
index bc2c379a9..0a2d6ce8f 100644
--- a/jjb/apex/apex.yaml.j2
+++ b/jjb/apex/apex.yaml.j2
@@ -695,6 +695,11 @@
- 'apex-verify.*'
- 'apex-runner.*'
- 'apex-daily.*'
+ - 'apex-csit-promote.*'
+ - throttle:
+ max-per-node: 1
+ max-total: 10
+ option: 'project'
triggers:
- timed: '0 12 * * 0'