Commit 7d51b4fa authored by szager@chromium.org's avatar szager@chromium.org

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
parent 42c2079a
......@@ -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 <<EOF > "${rundir}/etc/gerrit.config"
[auth]
......@@ -154,6 +155,8 @@ cat <<EOF > "${rundir}/etc/gerrit.config"
listenUrl = http://*:${http_port}/
[sshd]
listenAddress = *:${ssh_port}
[sendemail]
enable = false
EOF
# Initialize the gerrit instance.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment