Files
system-config/playbooks/roles/gerrit/defaults/main.yaml
Clark Boylan 8281237835 Drop /opt/project-config/gerrit/projects.ini on review
We moved this file into /home/gerrit2 rather than keeping it in the
project-config repo that is synced from gerrit to bridge to review. This
wasn't a problem until recently when we started ensuring that rsync
deletes non existant files on the source from the destination which
removed the /opt/project-config/gerrit/projects.ini file. Then when
attempting to start the gerrit container things complain about the
missing file.

Nothing is actually using that file though so we remove the bind mount
from docker-compose.yaml to fix the container startup issues. We also
clean up some gerrit hook references to the file. The update-bug script
in jeepyb doesn't actually read the file at all so we can remove the
reference to avoid confusion.

Change-Id: I68bd5329409c2af3b53fed823fae7564c87e73c4
2025-11-04 07:13:53 -08:00

29 lines
1.2 KiB
YAML

gerrit_id: 3000
gerrit_user_name: gerrit2
gerrit_home_dir: /home/gerrit2
gerrit_site_dir: "{{ gerrit_home_dir }}/review_site"
gerrit_run_compose_up: false
gerrit_run_init: false
gerrit_run_init_dev_mode: false
gerrit_run_reindex: false
gerrit_packed_git_open_files: 4096
gerrit_container_image: quay.io/opendevorg/gerrit:3.10
gerrit_container_volumes:
- /home/gerrit2/.launchpadlib:/var/gerrit/.launchpadlib
- /home/gerrit2/.ssh:/var/gerrit/.ssh
- /home/gerrit2/review_site/cache:/var/gerrit/cache
- /home/gerrit2/review_site/data:/var/gerrit/data
- /home/gerrit2/review_site/db:/var/gerrit/db
- /home/gerrit2/review_site/etc:/var/gerrit/etc
- /home/gerrit2/review_site/git:/var/gerrit/git
- /home/gerrit2/review_site/hooks:/var/gerrit/hooks
- /home/gerrit2/review_site/index:/var/gerrit/index
- /home/gerrit2/review_site/logs:/var/log/gerrit
- /home/gerrit2/review_site/tmp:/var/gerrit/tmp
- /opt/project-config/gerrit/projects.yaml:/var/gerrit/etc/projects.yaml
gerrit_project_creator_user: openstack-project-creator
gerrit_manage_projects_args: "-v"
gerrit_track_upstream: true
gerrit_reviewdb_mariadb_username: gerrit
gerrit_reviewdb_mariadb_dbname: accountPatchReviewDb