Synchronize src repos to workspace directory

And support Depends-On for zuul/nodepool/shade/diskimage-builder/gear.

Change-Id: I48868555e0358bc13b9ece56d19926805eae230a
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2018-03-08 17:28:49 -05:00
parent ebcc961ebd
commit 6fdaf6bedf
No known key found for this signature in database
GPG Key ID: 611A80832067AF38
2 changed files with 15 additions and 0 deletions

View File

@ -41,6 +41,15 @@
- openstack-infra/nodepool
- openstack-infra/shade
- openstack-infra/zuul
vars:
# NOTE(pabelanger): Because we want to test Depends-On patches in the
# gate, we don't want our roles to update git after we pushed the repos
# from zuul-executors.
diskimage_builder_git_update: false
gear_git_update: false
nodepool_git_update: false
shade_git_update: false
zuul_git_update: false
- job:
name: windmill-centos-7

View File

@ -8,6 +8,12 @@
set_apt_mirrors_trusted: True
tasks:
- name: Synchronize src repos to workspace directory.
synchronize:
dest: .
src: "{{ zuul.executor.src_root }}"
no_log: true
# NOTE(pabelanger): Because use-cache-repos force the delete of origin, the
# git module from ansible will not setup origin correctly. This is like a
# bug in ansible, and should be discussed upstream.