2011-08-16 22:05:14 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
2012-08-16 09:09:00 -07:00
|
|
|
# Use timeout to kill any process running longer than 10 minutes.
|
2012-11-22 10:45:10 -08:00
|
|
|
timeout -k 2m 10m /usr/local/bin/update-blueprint patchset-created "$@"
|
|
|
|
timeout -k 2m 10m /usr/local/bin/update-bug patchset-created "$@"
|
2013-04-22 16:06:09 -07:00
|
|
|
timeout -k 2m 10m /usr/local/bin/notify-impact patchset-created "$@" --impact SecurityImpact --dest-address 'openstack-security@lists.openstack.org'
|
2014-04-28 16:57:51 -07:00
|
|
|
<% if @trivial_rebase_role_id != "" -%>
|
2012-11-22 10:45:10 -08:00
|
|
|
timeout -k 2m 10m /usr/local/bin/trivial-rebase \
|
2012-09-05 17:17:53 +00:00
|
|
|
patchset-created \
|
2012-09-27 18:15:49 +00:00
|
|
|
--whitespace \
|
2014-04-17 17:51:50 -07:00
|
|
|
--private-key-path=<%= @ssh_host_key %> \
|
|
|
|
--role-user=<%= @trivial_rebase_role_id %> "$@"
|
2014-01-28 22:23:38 -08:00
|
|
|
<% end -%>
|
2014-04-17 17:51:50 -07:00
|
|
|
<% if @ssh_welcome_rsa_key_contents != "" -%>
|
2014-03-13 09:58:13 +11:00
|
|
|
timeout -k 2m 10m /usr/local/bin/welcome-message patchset-created \
|
2014-03-18 02:32:08 +00:00
|
|
|
--verbose --ssh-user=welcome-message \
|
|
|
|
--ssh-key=/home/gerrit2/review_site/etc/ssh_welcome_rsa_key "$@"
|
2014-01-31 21:49:09 +00:00
|
|
|
<% end -%>
|