Commit d9196afe authored by Holger Levsen's avatar Holger Levsen

d-i: throttle builds and allow 12 concurrent at max

Signed-off-by: Holger Levsen's avatarHolger Levsen <holger@layer-acht.org>
parent 47d28ffa
......@@ -231,13 +231,20 @@ sb_profitbricks = {
'text': 'Sponsored by Profitbricks',
'icon': '/userContent/images/profitbricks-24x24.png'}}
di_throttle = {
'throttle': {'max-total': 12,
'max-per-node': 12,
'enabled': 'true',
'option': 'category',
'categories': [ 'd-i' ]}}
def prop(type='manual', priority=None):
p = [sb_about,
{'sidebar': {'url': 'https://jenkins.debian.net/view/d-i_'+type+'/',
'text': 'debian-installer ' + type + ' jobs',
'icon': '/userContent/images/debian-jenkins-24x24.png'}},
sb_profitbricks]
sb_profitbricks,
di_throttle]
if priority is not None:
p.append({'priority-sorter': {'priority': str(priority)}})
return p
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment