Use dev subdir on review-dev for project-config things
This is in anticipation of running manage-projects, which wants to use the dev subdir of project-config when run on dev, but we're currently not doing anything with that. Point at root or dev as appropriate. Then we can do a similar thing - probably just bind-mounting the root or the dev when we docker run for manage-projects. Change-Id: Ia13bbb0bf8dbe1f7e7c0f378ba9b41bef3ecd5c1
This commit is contained in:
parent
86542eb9ba
commit
906e6a72a1
@ -10,3 +10,4 @@ letsencrypt_gid: 3001
|
||||
gerrit_storyboard_url: https://storyboard-dev.openstack.org
|
||||
gerrit_vhost_name: review-dev.opendev.org
|
||||
gerrit_redirect_vhost: review-dev.openstack.org
|
||||
gerrit_project_config_base: /opt/project-config/dev
|
||||
|
@ -17,3 +17,4 @@ gerrit_container_volumes:
|
||||
- /home/gerrit2/.launchpadlib:/var/gerrit/.launchpadlib
|
||||
- /home/gerrit2/.ssh:/var/gerrit/.ssh
|
||||
gerrit_database_type: MYSQL
|
||||
gerrit_project_config_base: /opt/project-config
|
||||
|
@ -202,7 +202,7 @@
|
||||
|
||||
- name: Copy notify-impact yaml file
|
||||
copy:
|
||||
src: "/opt/project-config/gerrit/notify_impact.yaml"
|
||||
src: "{{ gerrit_project_config_base }}/gerrit/notify_impact.yaml"
|
||||
dest: "{{ gerrit_site_dir }}/hooks/notify_impact.yaml"
|
||||
remote_src: yes
|
||||
owner: "{{ gerrit_user_name }}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user