Move docimpact from created hook to merged

* .../files/gerrit/change-merged: Call the docimpact script from
this hook.

* .../templates/gerrit_patchset-created.erb: Stop calling the
docimpact script from this hook.

Change-Id: I9a2d6e33ec35eb94ae14f7d2b17ead52bb9a2019
This commit is contained in:
Jeremy Stanley 2013-10-14 16:21:23 +00:00
parent 9f06818dd4
commit bb6518f4c7
2 changed files with 1 additions and 1 deletions

View File

@ -2,3 +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'

View File

@ -3,7 +3,6 @@
# 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-blueprint patchset-created "$@" timeout -k 2m 10m /usr/local/bin/update-blueprint patchset-created "$@"
timeout -k 2m 10m /usr/local/bin/update-bug patchset-created "$@" timeout -k 2m 10m /usr/local/bin/update-bug patchset-created "$@"
timeout -k 2m 10m /usr/local/bin/notify-impact patchset-created "$@" --impact DocImpact --dest-address 'openstack-docs@lists.openstack.org'
timeout -k 2m 10m /usr/local/bin/notify-impact patchset-created "$@" --impact SecurityImpact --dest-address 'openstack-security@lists.openstack.org' timeout -k 2m 10m /usr/local/bin/notify-impact patchset-created "$@" --impact SecurityImpact --dest-address 'openstack-security@lists.openstack.org'
timeout -k 2m 10m /usr/local/bin/trivial-rebase \ timeout -k 2m 10m /usr/local/bin/trivial-rebase \
patchset-created \ patchset-created \