Increase max number of builds on staging Koschei

This commit is contained in:
Mikolaj Izdebski 2017-01-20 07:44:16 +00:00
parent dc8b2cf293
commit e25910a1cf

View file

@ -3,6 +3,7 @@
# assignment to config dictionary which will be recursively merged with the # assignment to config dictionary which will be recursively merged with the
# default one. # default one.
{% if env != 'staging' %} {# 1.9 #}
class DictMergeWorkaround(object): class DictMergeWorkaround(object):
# workaround that koji login args get accidentally merged with example ones # workaround that koji login args get accidentally merged with example ones
def __init__(self, mapping): def __init__(self, mapping):
@ -11,6 +12,7 @@ class DictMergeWorkaround(object):
return self.mapping.keys() return self.mapping.keys()
def __getitem__(self, key): def __getitem__(self, key):
return self.mapping[key] return self.mapping[key]
{% endif %}
config = { config = {
"database_config": { "database_config": {
@ -39,7 +41,7 @@ config = {
"krb_rdns": False, "krb_rdns": False,
}, },
{% if env == 'staging' %} {% if env == 'staging' %}
"max_builds": 4, "max_builds": 16,
"build_arches": ['i386', 'x86_64', 'armhfp'], "build_arches": ['i386', 'x86_64', 'armhfp'],
"load_threshold": 1, "load_threshold": 1,
{% else %} {% else %}