Add welcome_message.py to patchset-created trigger
This patch adds the welcome message script to the patchset-created trigger in gerrit. In theory it should post a lovely message to any committer making a patchset for the first time. However, it has not been tested, and review-dev is not available. So, this patch uses the --dry-run option of welcome_message.py so that it will hopefully post useful information to the log, but won't cause catastrophic failures. Change-Id: I4f04fcd2bd43f680f0d5032fc613194be8dd2586
This commit is contained in:
parent
90fbf574d1
commit
8c32906076
@ -9,3 +9,6 @@ timeout -k 2m 10m /usr/local/bin/trivial-rebase \
|
||||
--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 \
|
||||
--private-key-path=<%= ssh_host_key %> \
|
||||
--role-user=<%= trivial_rebase_role_id %> "$@"
|
||||
|
Loading…
Reference in New Issue
Block a user