65e61f5fb8
Fixes bug #1070577 Make the notify_impact script generic so that it can handle different types of notifications. Then add a SecurityImpact notification. Change-Id: Id4bbf7db29e36dde783328e31685079e79d0b1e9 Reviewed-on: https://review.openstack.org/14856 Reviewed-by: James E. Blair <corvus@inaugust.com> Reviewed-by: Jeremy Stanley <fungi@yuggoth.org> Approved: Jeremy Stanley <fungi@yuggoth.org> Tested-by: Jenkins
13 lines
793 B
Plaintext
Executable File
13 lines
793 B
Plaintext
Executable File
#!/bin/sh
|
|
|
|
# Use timeout to kill any process running longer than 10 minutes.
|
|
timeout -k 2m 10m python /usr/local/gerrit/scripts/update_blueprint.py patchset-created "$@"
|
|
timeout -k 2m 10m python /usr/local/gerrit/scripts/update_bug.py patchset-created "$@"
|
|
timeout -k 2m 10m python /usr/local/gerrit/scripts/notify_impact.py patchset-created "$@" --impact DocImpact --dest-address 'openstack-docs@lists.openstack.org'
|
|
timeout -k 2m 10m python /usr/local/gerrit/scripts/notify_impact.py patchset-created "$@" --impact SecurityImpact --dest-address 'openstack-ossg@lists.launchpad.net'
|
|
timeout -k 2m 10m python /usr/local/gerrit/scripts/trivial_rebase.py \
|
|
patchset-created \
|
|
--whitespace \
|
|
--private-key-path=<%= ssh_host_key %> \
|
|
--role-user=<%= trivial_rebase_role_id %> "$@"
|