Koschei: Configure and enable Pagure plugin in production
This commit is contained in:
parent
7d472ed5c8
commit
2571ee4e18
1 changed files with 2 additions and 13 deletions
|
@ -41,31 +41,20 @@ config = {
|
||||||
{% if env == 'staging' %}
|
{% if env == 'staging' %}
|
||||||
"plugins": [],
|
"plugins": [],
|
||||||
{% else %}
|
{% else %}
|
||||||
"plugins": [],
|
"plugins": ['pagure'],
|
||||||
# "plugins": ['hotfix_pagure_extras'],
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
"caching": {
|
"caching": {
|
||||||
"pagure": {
|
"pagure": {
|
||||||
"users": {
|
"users": {
|
||||||
"backend": "dogpile.cache.memcached",
|
"backend": "dogpile.cache.memcached",
|
||||||
"expiration_time": 21600, # 6 hours
|
"expiration_time": 3600, # 1 hour
|
||||||
"arguments": {
|
"arguments": {
|
||||||
"url": "memcached01:11211",
|
"url": "memcached01:11211",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"hotfix_pagure_extras": {
|
|
||||||
"backend": "dogpile.cache.memcached",
|
|
||||||
"expiration_time": 3600, # 1 hour
|
|
||||||
"arguments": {
|
|
||||||
"url": "memcached01:11211",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
"pagure": {
|
"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",
|
"owner_alias_url": "https://src{{ env_suffix }}.fedoraproject.org/extras/pagure_owner_alias.json",
|
||||||
},
|
},
|
||||||
"frontend": {
|
"frontend": {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue