[gerrit] basePath = shared/git canonicalWebUrl = https://code.xxx.com/r/ gitHttpUrl = https://code.xxx.com/r/ changeScreen = CHANGE_SCREEN2 installCommitMsgHookCommand = "gitdir=$(git rev-parse --git-dir); curl -o ${gitdir}/hooks/commit-msg https://code.xxx.com/r/tools/hooks/commit-msg ; chmod +x ${gitdir}/hooks/commit-msg" reportBugUrl = https://jira.xxx.com/jira serverId = xxxx [database] type = h2 database = /gerrit/db/ReviewDB [auth] type = LDAP gitBasicAuth = true gitBasicAuthPolicy = LDAP registerUrl = https://wiki.xxx.com/signup.action [ldap] server = ldaps://xxx accountBase = ou=People,dc=xxx,dc=com groupBase = ou=Groups,dc=xx,dc=com accountPattern = (uid=${username}) accountFullName = cn accountEmailAddress = mail groupMemberPattern = (&(objectClass=groupofuniquenames)(uniqueMember=${dn})) username = uid=xxx,ou=People,dc=xxx,dc=com supportAnonymous = false [user] email = gerrit@code.xxx.com [sendemail] enable = true smtpServer = email-smtp.us-east-1.amazonaws.com smtpServerPort = 587 smtpEncryption = tls from = CodeManagement [container] user = gerrit2 javaHome = /usr/lib/jvm/java-1.8.0-openjdk-amd64/jre javaOptions = -Djsse.enableSNIExtension=false javaOptions = "-Dflogger.backend_factory=com.google.common.flogger.backend.log4j.Log4jBackendFactory#getInstance" javaOptions = "-Dflogger.logging_context=com.google.gerrit.server.logging.LoggingContext#getInstance" heapLimit = 50g [sshd] listenAddress = *:29418 threads = 60 batchThreads = 4 commandStartThreads = 2 [httpd] listenUrl = proxy-https://*:8081/r/ requestLog = true maxThreads = 250 maxQueued = 500 [cache] directory = cache [commentlink "changeid"] match = Change-Id:\\s+([A-Za-z0-9]*) html = "Change-Id: $1" association = MANDATORY [its-jira] url = https://jira.xxx.com/jira username = gerrit_jira_user [commentlink "its-jira"] match = ([A-Z][A-Z0-9]+-[0-9]+) html = $1 association = OPTIONAL [commentlink "deps"] match = [Dd][Ee][Pp][Ss][=]*([1-9][0-9]{3,8}) html = "DEPS=$1" [mimetype "image/*"] safe = true [trackingid "jira-bug"] footer = JIRA: match = ([A-Z][A-Z]+-[1-9][0-9]*) system = JIRA [download] command = checkout command = cherry_pick command = pull command = format_patch scheme = http [theme] backgroundColor = D6E3E7 # powder blue textColor = 000000 # black topMenuColor = FFFFFF # white trimColor = FFFFFF # white selectionColor = 14ADA5 # aquamarine tableEvenRowColor = D6E3E7 # powder blue tableOddRowColor = FFFFFF # white [index] type = LUCENE defaultMaxClauseCount = 2048 [plugins] allowRemoteAdmin = true [receive] timeout = 4m enableSignedPush = false maxBatchCommits = 20000 [core] packedGitLimit = 8g packedGitWindowSize = 32k packedGitOpenFiles = 4096 [gc] startTime = 04:30 interval = 1d [plugin "its-jira"] association = SUGGESTED