diff options
author | Michael Simacek <msimacek@redhat.com> | 2017-08-30 16:40:57 +0300 |
---|---|---|
committer | Michael Simacek <msimacek@redhat.com> | 2017-08-30 16:44:07 +0300 |
commit | 294caaf2edba8dc40d30b41c46a903f6531e3b09 (patch) | |
tree | 489c85066d651b4578b33990ca6c402447de773a | |
parent | f481de42a376814cdb53f8c5a1212d7296aaaf23 (diff) | |
download | ansible-294caaf2edba8dc40d30b41c46a903f6531e3b09.tar.gz ansible-294caaf2edba8dc40d30b41c46a903f6531e3b09.tar.xz ansible-294caaf2edba8dc40d30b41c46a903f6531e3b09.zip |
Enable koschei-pagure plugin in stg
-rw-r--r-- | roles/koschei/frontend/templates/config-frontend.cfg.j2 | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/roles/koschei/frontend/templates/config-frontend.cfg.j2 b/roles/koschei/frontend/templates/config-frontend.cfg.j2 index a8322b605..2c2307ac5 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": { |