bb6518f4c7
* .../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
12 lines
552 B
Plaintext
Executable File
12 lines
552 B
Plaintext
Executable File
#!/bin/sh
|
|
|
|
# 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-bug patchset-created "$@"
|
|
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 \
|
|
patchset-created \
|
|
--whitespace \
|
|
--private-key-path=<%= ssh_host_key %> \
|
|
--role-user=<%= trivial_rebase_role_id %> "$@"
|