Parameterize manage-projects logging output
Change-Id: If4c456957fdce308ccafee0dfad8b627a85ea796
This commit is contained in:
parent
b94a2c5b96
commit
bde5860f57
@ -20,3 +20,4 @@ gerrit_container_volumes:
|
|||||||
gerrit_database_type: MYSQL
|
gerrit_database_type: MYSQL
|
||||||
gerrit_project_config_base: /opt/project-config
|
gerrit_project_config_base: /opt/project-config
|
||||||
gerrit_project_creator_user: openstack-project-creator
|
gerrit_project_creator_user: openstack-project-creator
|
||||||
|
gerrit_manage_projects_args: "-v -l /var/log/manage_projects.log"
|
||||||
|
@ -2,4 +2,4 @@
|
|||||||
command: "docker pull {{ gerrit_container_image }}"
|
command: "docker pull {{ gerrit_container_image }}"
|
||||||
|
|
||||||
- name: Run manage-projects
|
- name: Run manage-projects
|
||||||
command: /usr/local/bin/manage-projects
|
command: "/usr/local/bin/manage-projects {{ gerrit_manage_projects_args }}"
|
||||||
|
@ -23,4 +23,4 @@ exec docker run --rm --net=host -u root \
|
|||||||
-v/home/gerrit2/review_site/etc/ssh_project_rsa_key:/home/gerrit2/review_site/etc/ssh_project_rsa_key \
|
-v/home/gerrit2/review_site/etc/ssh_project_rsa_key:/home/gerrit2/review_site/etc/ssh_project_rsa_key \
|
||||||
-v/home/gerrit2/projects.ini:/home/gerrit2/projects.ini \
|
-v/home/gerrit2/projects.ini:/home/gerrit2/projects.ini \
|
||||||
-v/var/log:/var/log \
|
-v/var/log:/var/log \
|
||||||
{{ gerrit_container_image }} manage-projects -v -l /var/log/manage_projects.log
|
{{ gerrit_container_image }} manage-projects $@
|
||||||
|
Loading…
Reference in New Issue
Block a user