From 2571ee4e18cf4d7fd288d763022922d2d393d3e6 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Fri, 27 Sep 2019 12:02:52 +0200 Subject: [PATCH] Koschei: Configure and enable Pagure plugin in production --- .../koschei/templates/config-frontend.cfg.j2 | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/roles/openshift-apps/koschei/templates/config-frontend.cfg.j2 b/roles/openshift-apps/koschei/templates/config-frontend.cfg.j2 index 8c462dfe8a..c3abc5f4b1 100644 --- a/roles/openshift-apps/koschei/templates/config-frontend.cfg.j2 +++ b/roles/openshift-apps/koschei/templates/config-frontend.cfg.j2 @@ -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": {