From 7d51b4faa8ed3925c79ebe2848977544e3ea81da Mon Sep 17 00:00:00 2001 From: "szager@chromium.org" Date: Thu, 12 Sep 2013 19:15:35 +0000 Subject: [PATCH] Turn off gerrit emails. BUG= R=vadimsh@chromium.org Review URL: https://codereview.chromium.org/23851027 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@222830 0039d316-1c4b-4281-b951-d872f2087c98 --- testing_support/gerrit-init.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/testing_support/gerrit-init.sh b/testing_support/gerrit-init.sh index 0f3ab32d9..3169ed45b 100755 --- a/testing_support/gerrit-init.sh +++ b/testing_support/gerrit-init.sh @@ -142,7 +142,8 @@ if [ ! -e "$gerrit_exe" ]; then fi # By default, gerrit only accepts https connections, which is a good thing. But -# for testing, it's convenient to enable plain http. +# for testing, it's convenient to enable plain http. Also, turn off all email +# notifications. mkdir -p "${rundir}/etc" cat < "${rundir}/etc/gerrit.config" [auth] @@ -154,6 +155,8 @@ cat < "${rundir}/etc/gerrit.config" listenUrl = http://*:${http_port}/ [sshd] listenAddress = *:${ssh_port} +[sendemail] + enable = false EOF # Initialize the gerrit instance.