Bind-mount acls dir to /home/gerrit2
Turns out our config has a bunch of hardcoded /home/gerrit2/acls entries in it. That doesn't work if we're just pointing the config file at /opt/project-config/gerrit/acls. Change-Id: I387e446501e17a3bdd807807d5ef6b69b53abde5
This commit is contained in:
parent
1be28fddf3
commit
1a4e781173
@ -16,6 +16,7 @@
|
||||
|
||||
exec docker run --rm --net=host -u root \
|
||||
-v{{ gerrit_project_config_base }}:/opt/project-config \
|
||||
-v{{ gerrit_project_config_base }}/acls:/home/gerrit2/acls \
|
||||
-v{{ gerrit_project_config_base }}/gerrit/projects.yaml:/home/gerrit2/projects.yaml \
|
||||
-v/opt/lib/git:/opt/lib/git \
|
||||
-v/opt/lib/jeepyb:/opt/lib/jeepyb \
|
||||
|
@ -1,6 +1,6 @@
|
||||
[projects]
|
||||
homepage=https://opendev.org
|
||||
acl-dir=/opt/project-config/gerrit/acls
|
||||
acl-dir=/home/gerrit2/acls
|
||||
local-git-dir=/opt/lib/git
|
||||
jeepyb-cache-dir=/opt/lib/jeepyb
|
||||
gerrit-host={{ gerrit_vhost_name }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user