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:
parent
aa78935600
commit
edd46d1acc
@ -15,8 +15,13 @@
|
|||||||
|
|
||||||
- hosts: bridge.openstack.org
|
- hosts: bridge.openstack.org
|
||||||
tasks:
|
tasks:
|
||||||
- include_role:
|
- name: Synchronize src repos to workspace directory.
|
||||||
name: mirror-workspace-git-repos
|
synchronize:
|
||||||
|
delete: false
|
||||||
|
dest: .
|
||||||
|
recursive: true
|
||||||
|
src: "{{ zuul.executor.src_root }}"
|
||||||
|
no_log: true
|
||||||
|
|
||||||
- name: Run the production playbook and capture logs
|
- name: Run the production playbook and capture logs
|
||||||
block:
|
block:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user