diff --git a/roles/koschei/frontend/templates/config-frontend.cfg.j2 b/roles/koschei/frontend/templates/config-frontend.cfg.j2 index a8322b6051..2c2307ac5d 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": {