blob: 86f28854ce81f1cc12c3a365de3bbabc159252ea (
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
|
[core]
streamFileThreshold = 512m
packedGitLimit = 1500m
[gerrit]
basePath = /srv/repositories
canonicalWebUrl = http://android-review.linaro.org/
serverId = {{gerrit_config_server_id}}
[database]
type = postgresql
hostname = localhost
database = reviewdb
username = gerrit2
[auth]
type = LDAP
#openIdSsoUrl = https://login.linaro.org:8443/openidserver/op
#logOutUrl = https://login.linaro.org:8443/openidserver/logoff.action
# type = OpenID
# trustedOpenID = https://login.launchpad.net/+id/
# trustedOpenID = https://launchpad.net/~
# trustedOpenID = https://login.linaro.org:8443/openidserver/users
allowGoogleAccountUpgrade = true
[ldap]
server = ldaps://login.linaro.org
username = cn=rhodecode,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}))
[sendemail]
smtpServer = localhost
expiryDays = 15
replyToAddress = review@android-review.linaro.org
{% 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 %}
[container]
user = git
javaHome = /usr/lib/jvm/java-8-openjdk-amd64/jre
heapLimit = 8000m
[sshd]
listenAddress = *:29418
idleTimeout = 5m
[httpd]
listenUrl = proxy-http://127.0.0.1:8080/
[cache]
directory = cache
[cache "projects"]
memoryLimit = 512
diskLimit = 4096
[download]
scheme = http
scheme = ssh
scheme = anon_http
scheme = repo_download
[gitweb]
type = cgit
url = https://android-git.linaro.org
[theme]
selectionColor = FFFEAE
[user]
name = Linaro Android Code Review
email = android-review@review.linaro.org
[index]
type = LUCENE
|