Migrate Koschei prod from pkgdb2 to pagure
This commit is contained in:
parent
2167cef9ab
commit
e1fe67237b
1 changed files with 1 additions and 23 deletions
|
@ -41,21 +41,9 @@ config = {
|
||||||
{% if env == 'staging' %}
|
{% if env == 'staging' %}
|
||||||
"plugins": ['pagure', 'copr'],
|
"plugins": ['pagure', 'copr'],
|
||||||
{% else %}
|
{% else %}
|
||||||
"plugins": ['pkgdb'],
|
"plugins": ['pagure'],
|
||||||
{% endif %}
|
{% endif %}
|
||||||
"caching": {
|
"caching": {
|
||||||
"plugin": {
|
|
||||||
"pkgdb": {
|
|
||||||
"users": {
|
|
||||||
"backend": "dogpile.cache.memcached",
|
|
||||||
"expiration_time": 300,
|
|
||||||
"arguments": {
|
|
||||||
"url": "memcached01:11211",
|
|
||||||
"distributed_lock": True,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
"pagure": {
|
"pagure": {
|
||||||
"users": {
|
"users": {
|
||||||
"backend": "dogpile.cache.memcached",
|
"backend": "dogpile.cache.memcached",
|
||||||
|
@ -67,16 +55,6 @@ config = {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"pkgdb": {
|
|
||||||
{% if env == 'staging' %}
|
|
||||||
"pkgdb_url": 'https://admin.stg.fedoraproject.org/pkgdb/api',
|
|
||||||
"topic_re": r'\.stg\.pkgdb\.',
|
|
||||||
{% else %}
|
|
||||||
"pkgdb_url": 'https://admin.fedoraproject.org/pkgdb/api',
|
|
||||||
"topic_re": r'\.prod\.pkgdb\.',
|
|
||||||
{% endif %}
|
|
||||||
"sync_tracked": False,
|
|
||||||
},
|
|
||||||
"pagure": {
|
"pagure": {
|
||||||
"api_url": "https://src{{ env_prefix }}.fedoraproject.org/api/0",
|
"api_url": "https://src{{ env_prefix }}.fedoraproject.org/api/0",
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue