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:
parent
f401b4d772
commit
f045fa0ab3
@ -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
|
||||||
|
11
modules/openstack_project/files/gerrit/subscriber_map.yaml
Normal file
11
modules/openstack_project/files/gerrit/subscriber_map.yaml
Normal 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']
|
@ -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',
|
||||||
|
Loading…
Reference in New Issue
Block a user