
The welcome-message script uses SSH arguments that are the same as expire-old-reviews, not trivial-rebase. This patch updates the hook script to use the correct CLI arguments. Change-Id: Ib771e2a8cf4b770878dd24c72efd80344e62f754
14 lines
722 B
Plaintext
Executable File
14 lines
722 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 %> "$@"
|
|
timeout -k 2m 10m /usr/local/bin/welcome-message patchset-created --dryrun \
|
|
welcome-message@review.openstack.org <%= welcome-message_gerrit_ssh_private_key %> "$@"
|