diff --git a/.zuul.d/jobs.yaml b/.zuul.d/jobs.yaml index eca0d2c..39cc8a2 100644 --- a/.zuul.d/jobs.yaml +++ b/.zuul.d/jobs.yaml @@ -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 diff --git a/tests/base-minimal.yaml b/tests/base-minimal.yaml index 654303a..1937c20 100644 --- a/tests/base-minimal.yaml +++ b/tests/base-minimal.yaml @@ -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.