summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--roles/koschei/frontend/templates/config-frontend.cfg.j215
1 files changed, 14 insertions, 1 deletions
diff --git a/roles/koschei/frontend/templates/config-frontend.cfg.j2 b/roles/koschei/frontend/templates/config-frontend.cfg.j2
index a8322b605..2c2307ac5 100644
--- a/roles/koschei/frontend/templates/config-frontend.cfg.j2
+++ b/roles/koschei/frontend/templates/config-frontend.cfg.j2
@@ -39,7 +39,7 @@ config = {
},
},
{% if env == 'staging' %}
- "plugins": ['pkgdb', 'copr'],
+ "plugins": ['pagure', 'copr'],
{% else %}
"plugins": ['pkgdb'],
{% endif %}
@@ -56,6 +56,16 @@ config = {
},
},
},
+ "pagure": {
+ "users": {
+ "backend": "dogpile.cache.memcached",
+ "expiration_time": 300,
+ "arguments": {
+ "url": "memcached01:11211",
+ "distributed_lock": True,
+ },
+ },
+ },
},
"pkgdb": {
{% if env == 'staging' %}
@@ -67,6 +77,9 @@ config = {
{% endif %}
"sync_tracked": False,
},
+ "pagure": {
+ "api_url": "https://src{{ env_prefix }}.fedoraproject.org/api/0",
+ },
"frontend": {
"builds_per_page": 8,
"auth": {