check-compose: only send Postrelease report on error

Cloud folks want this email sent only if there's some kind of
problem (missing image or openQA failure), I've just added an
option to check-compose to allow for that, enable it here.
This commit is contained in:
Adam Williamson 2016-01-19 14:45:51 -08:00
parent d9a2ebaf7c
commit 9a1f476909
2 changed files with 4 additions and 0 deletions

View file

@ -20,6 +20,7 @@ wikitcms_password: "{{ prod_wikitcms_password }}"
checkcompose_emailfrom: rawhide@fedoraproject.org
checkcompose_emailto: "test@lists.fedoraproject.org devel@lists.fedoraproject.org"
checkcompose_postrelease_emailto: "mmcgrath@redhat.com cloud@lists.fedoraproject.org"
checkcompose_postrelease_emailerror: "true"
checkcompose_smtp: bastion.phx2.fedoraproject.org
checkcompose_url: "https://{{ external_hostname }}"

View file

@ -27,3 +27,6 @@ loglevel: {{ checkcompose_loglevel }}
{% if checkcompose_postrelease_emailto is defined %}
email-to: {{ checkcompose_postrelease_emailto }}
{% endif %}
{% if checkcompose_postrelease_emailerror is defined %}
email-error: {{ checkcompose_postrelease_emailerror }}
{% endif %}