diff --git a/roles/openshift-apps/review-stats/templates/config.cfg b/roles/openshift-apps/review-stats/templates/config.cfg index 1e47755de5..d7a7f6f275 100644 --- a/roles/openshift-apps/review-stats/templates/config.cfg +++ b/roles/openshift-apps/review-stats/templates/config.cfg @@ -4,8 +4,13 @@ url = https://bugzilla.stage.redhat.com/xmlrpc.cgi {% else %} url = https://bugzilla.redhat.com/xmlrpc.cgi {% endif %} -username = package-review@lists.fedoraproject.org -password = {{ packagereviewbugzilla }} +# username = package-review@lists.fedoraproject.org +# password = {{ packagereviewbugzilla }} +{% if env == "staging" %} +bugzilla_api_key = {{ reviewstatsbzapikey.stg }} +{% else %} +bugzilla_api_key = {{ reviewstatsbzapikey }} +{% endif %} [review-stats-worker] needinfo_waiting_days = 30