From 7371d28610e52f694cb0d051d718b78ef2a30bce Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Tue, 19 Jan 2016 14:14:00 -0800 Subject: [PATCH] check-compose: send Postrelease emails to appropriate folks This is for https://phab.qadevel.cloud.fedoraproject.org/T690 , it goes along with some changes to check-compose itself to allow reports for different milestones to have different config settings, which (if I didn't mess anything up) should result in those reports going to Mike McGrath and the cloud@ list, as requested, while Rawhide and Branched reports continue to go to test@ and devel@. --- inventory/group_vars/openqa | 1 + roles/check-compose/templates/check-compose.conf.j2 | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/inventory/group_vars/openqa b/inventory/group_vars/openqa index 6e2c7de943..cc9232da49 100644 --- a/inventory/group_vars/openqa +++ b/inventory/group_vars/openqa @@ -19,6 +19,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_smtp: bastion.phx2.fedoraproject.org checkcompose_url: "https://{{ external_hostname }}" diff --git a/roles/check-compose/templates/check-compose.conf.j2 b/roles/check-compose/templates/check-compose.conf.j2 index dc4e3f649e..6622e74e5d 100644 --- a/roles/check-compose/templates/check-compose.conf.j2 +++ b/roles/check-compose/templates/check-compose.conf.j2 @@ -23,3 +23,7 @@ json: {{ checkcompose_json }} {% if checkcompose_loglevel is defined %} loglevel: {{ checkcompose_loglevel }} {% endif %} +[Postrelease] +{% if checkcompose_postrelease_emailto is defined %} +email-to: {{ checkcompose_postrelease_emailto }} +{% endif %}