Merge "Run manage-projects on gerrit servers"

This commit is contained in:
Zuul 2020-03-27 18:34:14 +00:00 committed by Gerrit Code Review
commit 50391bcfad
5 changed files with 8 additions and 5 deletions

View File

@ -1339,7 +1339,6 @@
- playbooks/service-letsencrypt.yaml
- playbooks/service-review-dev.yaml
- playbooks/service-review.yaml
- playbooks/manage-projects.yaml
host-vars:
review-dev01.opendev.org:
host_copy_output:
@ -1358,7 +1357,6 @@
- playbooks/service-letsencrypt.yaml
- ^playbooks/service-review.*.yaml
- playbooks/group_vars/review.yaml
- playbooks/manage-projects.yaml
- ^playbooks/host_vars/review\d+.openstack.org.yaml
- playbooks/group_vars/review-dev.yaml
- ^playbooks/host_vars/review-dev\d+.opendev.org.yaml

View File

@ -16,3 +16,8 @@
roles:
- gitea-git-repos
- hosts: "review:review-dev:!disabled"
name: "Create repos on gerrit servers"
tasks:
- name: Run manage-projects
command: /usr/local/bin/manage-projects

View File

@ -14,7 +14,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
exec docker run -it --rm -u root \
exec docker run --rm --net=host -u root \
-v{{ gerrit_project_config_base }}:/opt/project-config \
-v{{ gerrit_project_config_base }}/gerrit/projects.yaml:/home/gerrit2/projects.yaml \
-v/opt/lib/git:/opt/lib/git \

View File

@ -3,7 +3,7 @@ homepage=https://opendev.org
acl-dir=/opt/project-config/gerrit/acls
local-git-dir=/opt/lib/git
jeepyb-cache-dir=/opt/lib/jeepyb
gerrit-host={{ gerrit_vhost_name }}
gerrit-host=localhost
gerrit-user={{ gerrit_project_creator_user }}
gerrit-committer=OpenDev Project Creator <openstack-infra@lists.openstack.org>
gerrit-key=/home/gerrit2/review_site/etc/ssh_project_rsa_key

View File

@ -14,7 +14,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
exec docker run -it --rm -u root \
exec docker run --rm --net=host -u root \
-v{{ gerrit_project_config_base }}:/opt/project-config \
-v{{ gerrit_project_config_base }}/gerrit/projects.yaml:/home/gerrit2/projects.yaml \
-v/opt/lib/git:/opt/lib/git \