From edd46d1acc1fc8053525adb4714621c3322716f7 Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Wed, 15 Apr 2020 10:17:57 -0500 Subject: [PATCH] Just use synchronize to sync the repos We don't have cached repos, and our repos aren't so big that we want to care about the git push difference. Also - dont do delete: true like prepare-workspace does, because deleting and then re-pushing project-config depending on job would be costly. Change-Id: I4c7bbc797f9f81878424b7bf2b7e83ec756de108 --- playbooks/zuul/run-production-playbook.yaml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/playbooks/zuul/run-production-playbook.yaml b/playbooks/zuul/run-production-playbook.yaml index b9d80c4a03..3dd2f45780 100644 --- a/playbooks/zuul/run-production-playbook.yaml +++ b/playbooks/zuul/run-production-playbook.yaml @@ -15,8 +15,13 @@ - hosts: bridge.openstack.org tasks: - - include_role: - name: mirror-workspace-git-repos + - name: Synchronize src repos to workspace directory. + synchronize: + delete: false + dest: . + recursive: true + src: "{{ zuul.executor.src_root }}" + no_log: true - name: Run the production playbook and capture logs block: