From c1714ef918dab1d8c03bb6137d0b76efc70af957 Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Fri, 24 Apr 2020 14:42:48 -0500 Subject: [PATCH] Use the sync-project-config role in service-zuul We can sync the project-config repo instead of cloning it on the hosts. Change-Id: Ic238d743f4dda0a3c04a7e3618a9d86d3c3e5371 --- .zuul.yaml | 3 +++ playbooks/roles/zuul/tasks/main.yaml | 8 +++----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.zuul.yaml b/.zuul.yaml index 83a4a8d819..eee90c1dee 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -1592,6 +1592,9 @@ label: ubuntu-xenial - name: zuul01.openstack.org label: ubuntu-xenial + required-projects: + - openstack/project-config + - opendev/system-config vars: run_playbooks: - playbooks/service-letsencrypt.yaml diff --git a/playbooks/roles/zuul/tasks/main.yaml b/playbooks/roles/zuul/tasks/main.yaml index 426e512363..7c2894b452 100644 --- a/playbooks/roles/zuul/tasks/main.yaml +++ b/playbooks/roles/zuul/tasks/main.yaml @@ -119,11 +119,9 @@ group: zuul mode: 0600 -- name: Clone project-config repo - git: - repo: https://opendev.org/openstack/project-config - dest: /opt/project-config - force: yes +- name: Sync project-config + include_role: + name: sync-project-config - name: Install docker-compose package: