Disable koschei-pkgdb integration

This commit is contained in:
Michael Simacek 2017-08-14 17:19:19 +02:00
parent 3cd0c523dd
commit 890d01ce47
2 changed files with 4 additions and 51 deletions

View file

@ -85,9 +85,9 @@ config = {
}, },
}, },
{% if env == 'staging' %} {% if env == 'staging' %}
"plugins": ['pkgdb', 'fedmsg', 'copr'], "plugins": ['fedmsg', 'copr'],
{% else %} {% else %}
"plugins": ['pkgdb', 'fedmsg'], "plugins": ['fedmsg'],
{% endif %} {% endif %}
"fedmsg": { "fedmsg": {
{% if env == 'staging' %} {% if env == 'staging' %}
@ -109,28 +109,6 @@ config = {
"distributed_lock": True, "distributed_lock": True,
}, },
}, },
"plugin": {
"pkgdb": {
"users": {
"backend": "dogpile.cache.memcached",
"expiration_time": 300,
"arguments": {
"url": "memcached01",
"distributed_lock": True,
},
},
},
},
},
"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": True,
}, },
"copr": { "copr": {
"require_admin": True, "require_admin": True,

View file

@ -39,36 +39,13 @@ config = {
}, },
}, },
{% if env == 'staging' %} {% if env == 'staging' %}
"plugins": ['pkgdb', 'copr'], "plugins": ['copr'],
{% else %} {% else %}
"plugins": ['pkgdb'], "plugins": [],
{% endif %} {% endif %}
"caching": { "caching": {
"plugin": {
"pkgdb": {
"users": {
"backend": "dogpile.cache.memcached",
"expiration_time": 300,
"arguments": {
"url": "memcached01:11211",
"distributed_lock": True,
},
},
},
},
},
"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": True,
}, },
"frontend": { "frontend": {
"auto_tracking": True,
"builds_per_page": 8, "builds_per_page": 8,
"auth": { "auth": {
"user_re": "http://(.+)\\.id{{ env_prefix }}\\.fedoraproject\\.org/", "user_re": "http://(.+)\\.id{{ env_prefix }}\\.fedoraproject\\.org/",
@ -89,8 +66,6 @@ config = {
"links": [ "links": [
{"name": "Packages", {"name": "Packages",
"url": "https://apps{{ env_prefix }}.fedoraproject.org/packages/{package.name}"}, "url": "https://apps{{ env_prefix }}.fedoraproject.org/packages/{package.name}"},
{"name": "PkgDB",
"url": "https://admin{{ env_prefix }}.fedoraproject.org/pkgdb/package/{package.name}"},
{"name": "Bodhi", {"name": "Bodhi",
"url": "https://bodhi{{ env_prefix }}.fedoraproject.org/updates?packages={package.name}"}, "url": "https://bodhi{{ env_prefix }}.fedoraproject.org/updates?packages={package.name}"},
{"name": "Dist-git", {"name": "Dist-git",