Koschei: Configure and enable Pagure plugin in production

This commit is contained in:
Mikolaj Izdebski 2019-09-27 12:02:52 +02:00 committed by Pierre-Yves Chibon
parent 7d472ed5c8
commit 2571ee4e18

View file

@ -41,31 +41,20 @@ config = {
{% if env == 'staging' %}
"plugins": [],
{% else %}
"plugins": [],
# "plugins": ['hotfix_pagure_extras'],
"plugins": ['pagure'],
{% endif %}
"caching": {
"pagure": {
"users": {
"backend": "dogpile.cache.memcached",
"expiration_time": 21600, # 6 hours
"expiration_time": 3600, # 1 hour
"arguments": {
"url": "memcached01:11211",
},
},
},
"hotfix_pagure_extras": {
"backend": "dogpile.cache.memcached",
"expiration_time": 3600, # 1 hour
"arguments": {
"url": "memcached01:11211",
},
},
},
"pagure": {
"api_url": "https://src{{ env_suffix }}.fedoraproject.org/api/0",
},
"hotfix_pagure_extras": {
"owner_alias_url": "https://src{{ env_suffix }}.fedoraproject.org/extras/pagure_owner_alias.json",
},
"frontend": {