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
This commit is contained in:
Monty Taylor 2020-04-15 10:17:57 -05:00
parent aa78935600
commit edd46d1acc

View File

@ -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: