blob: d6f7f01e985de55132fd85b594752d8600718ff0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
|
[gerrit]
basePath = /srv/repositories
canonicalWebUrl = https://dev-private-review.linaro.org/
serverId = {{gerrit_config_server_id}}
[database]
type = postgresql
hostname = localhost
database = reviewdb
username = private-git
[auth]
type = HTTP_LDAP
logoutUrl = https://login.linaro.org
cookieSecure = true
[ldap]
server = ldaps://login.linaro.org
username = cn=git-private,ou=binders,dc=linaro,dc=org
accountBase = ou=accounts,dc=linaro,dc=org
groupBase = ou=security,ou=groups,dc=linaro,dc=org
referral = follow
accountPattern = (mail=${username})
accountSshUserName = uid
accountEmailAddress = mail
accountFullName = displayName
groupScope = subtree
groupMemberPattern = (|(memberUid=${uid})(gidNumber=${gidNumber}))
{% if gerrit_config_dovecot_user is defined and gerrit_config_dovecot_password is defined %}
[receiveemail]
protocol = IMAP
host = localhost
username = {{ gerrit_config_dovecot_user }}
{% endif %}
[sendemail]
smtpServer = localhost
expiryDays = 15
includeDiff = true
maximumDiffSize = 512k
replyToAddress = review@dev-private-review.linaro.org
[container]
user = private-git
javaHome = /usr/lib/jvm/java-8-openjdk-amd64/jre
heapLimit = 3000m
[sshd]
listenAddress = *:29418
idleTimeout = 5 min
backend = NIO2
loginGraceTime = 1 min
batchThreads = 4
maxAuthTries = 4
[httpd]
listenUrl = proxy-https://*:8080/
[cache]
directory = cache
[cache "web_session"]
maxAge = 2 weeks
[cache "ldap_groups"]
maxAge = 2 weeks
[commentlink "bugzilla"]
match = "(bug\\s+#?)(\\d+)"
link = https://bugs.linaro.org/show_bug.cgi?id=$2
[download]
scheme = ssh
[theme]
selectionColor = FFFEAE
[user]
name = Linaro Private Code Review
email = review@dev-private-review.linaro.org
[core]
streamFileThreshold = 512m
[gitweb]
type = cgit
url = https://dev-private-git.linaro.org
revision = "/${project}.git/commit/?id=${commit}"
[site]
enableDeprecatedQuery = false
[index]
type = LUCENE
[noteDb "changes"]
autoMigrate = true
[change]
allowDrafts = true
|