Add an initial subscriber map for notify_impact

This only includes my team at the moment, but I will document how
other teams can set this up soon.

Change-Id: Ia8d47153e3eaf4ba3205723887dab41e334a4d6f
This commit is contained in:
Michael Still 2013-11-20 08:42:39 +11:00
parent f401b4d772
commit f045fa0ab3
3 changed files with 19 additions and 1 deletions

View File

@ -2,4 +2,4 @@
# Use timeout to kill any process running longer than 10 minutes. # Use timeout to kill any process running longer than 10 minutes.
timeout -k 2m 10m /usr/local/bin/update-bug change-merged "$@" timeout -k 2m 10m /usr/local/bin/update-bug change-merged "$@"
timeout -k 2m 10m /usr/local/bin/notify-impact change-merged "$@" --impact DocImpact --dest-address 'openstack-docs@lists.openstack.org' timeout -k 2m 10m /usr/local/bin/notify-impact change-merged "$@" --impact DocImpact --dest-address 'openstack-docs@lists.openstack.org' --auto-subscribers /home/gerrit2/review_site/hooks/subscriber_map.yaml

View File

@ -0,0 +1,11 @@
author_map:
michael.still@rackspace.com: rcbau
mikal@stillhq.com: rcbau
joshua.hesketh@rackspace.com: rcbau
michael.davies@rackspace.com: rcbau
michael@the-davies.net: rcbau
lana.brindley@rackspace.com: rcbau
openstack@lanabrindley.com: rcbau
subscriber_map:
rcbau: ['mikalstill', 'loquacity']

View File

@ -261,6 +261,13 @@ class openstack_project::gerrit (
require => Class['::gerrit'], require => Class['::gerrit'],
} }
file { '/home/gerrit2/review_site/hooks/subscriber_map.yaml':
ensure => present,
source =>
'puppet:///modules/openstack_project/gerrit/subscriber_map.yaml',
require => Class['::gerrit'],
}
file { '/home/gerrit2/review_site/hooks/patchset-created': file { '/home/gerrit2/review_site/hooks/patchset-created':
ensure => present, ensure => present,
owner => 'root', owner => 'root',