summaryrefslogtreecommitdiffstats
path: root/roles/koschei
diff options
context:
space:
mode:
authorMikolaj Izdebski <mizdebsk@redhat.com>2017-01-20 07:44:16 +0000
committerMikolaj Izdebski <mizdebsk@redhat.com>2017-01-20 07:45:18 +0000
commite25910a1cfda45057fb0f4b4e81cd74caaf4c1ee (patch)
treefb07141a37f8cc68d340afceef94bc8a0ccd6543 /roles/koschei
parentdc8b2cf293e36481a70a8fe0d50c633b7be03cb2 (diff)
downloadansible-e25910a1cfda45057fb0f4b4e81cd74caaf4c1ee.tar.gz
ansible-e25910a1cfda45057fb0f4b4e81cd74caaf4c1ee.tar.xz
ansible-e25910a1cfda45057fb0f4b4e81cd74caaf4c1ee.zip
Increase max number of builds on staging Koschei
Diffstat (limited to 'roles/koschei')
-rw-r--r--roles/koschei/backend/templates/config-backend.cfg.j24
1 files changed, 3 insertions, 1 deletions
diff --git a/roles/koschei/backend/templates/config-backend.cfg.j2 b/roles/koschei/backend/templates/config-backend.cfg.j2
index fc753a6ad..552d7cad8 100644
--- a/roles/koschei/backend/templates/config-backend.cfg.j2
+++ b/roles/koschei/backend/templates/config-backend.cfg.j2
@@ -3,6 +3,7 @@
# assignment to config dictionary which will be recursively merged with the
# default one.
+{% if env != 'staging' %} {# 1.9 #}
class DictMergeWorkaround(object):
# workaround that koji login args get accidentally merged with example ones
def __init__(self, mapping):
@@ -11,6 +12,7 @@ class DictMergeWorkaround(object):
return self.mapping.keys()
def __getitem__(self, key):
return self.mapping[key]
+{% endif %}
config = {
"database_config": {
@@ -39,7 +41,7 @@ config = {
"krb_rdns": False,
},
{% if env == 'staging' %}
- "max_builds": 4,
+ "max_builds": 16,
"build_arches": ['i386', 'x86_64', 'armhfp'],
"load_threshold": 1,
{% else %}