diff --git a/inventory/group_vars/copr_front_dev b/inventory/group_vars/copr_front_dev index b43bf08087..b314c1614a 100644 --- a/inventory/group_vars/copr_front_dev +++ b/inventory/group_vars/copr_front_dev @@ -17,3 +17,11 @@ letsencrypt: - copr-fe-dev.cloud.fedoraproject.org challenge_dir: /var/www/html mail: copr-devel@lists.fedorahosted.org + +whitelist_emails: + - msuchy@redhat.com + - praiskup@redhat.com + - jkadlcik@redhat.com + - dturecek@redhat.com + - thrnciar@redhat.com + - schlupov@redhat.com diff --git a/roles/copr/frontend/templates/copr.conf b/roles/copr/frontend/templates/copr.conf index dd096ddf13..a30535e55f 100644 --- a/roles/copr/frontend/templates/copr.conf +++ b/roles/copr/frontend/templates/copr.conf @@ -65,3 +65,11 @@ DEFER_BUILD_SECONDS = 300 ENABLE_DISCUSSION = True DISCOURSE_URL = "https://discussion.fedoraproject.org/" + +WHITELIST_EMAILS = [ +{% if whitelist_emails is defined %} +{% for recipient in whitelist_emails %} + "{{ recipient }}", +{% endfor %} +{% endif %} +]