Add required-projects to windmill jobs
Start building out the list of projects we like to be pre checked out on disk. This avoids the need to hit the network when initially cloning them. Change-Id: I0daabe5f9f7c29e8cc98d0dae439b1d147211d5d Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
2077dc6c88
commit
38320fb49f
|
@ -35,6 +35,12 @@
|
|||
name: openstack.zookeeper
|
||||
- zuul: openstack/ansible-role-zuul
|
||||
name: openstack.zuul
|
||||
required-projects:
|
||||
- openstack/diskimage-builder
|
||||
- openstack-infra/gear
|
||||
- openstack-infra/nodepool
|
||||
- openstack-infra/shade
|
||||
- openstack-infra/zuul
|
||||
|
||||
- job:
|
||||
name: windmill-centos-7
|
||||
|
|
|
@ -5,3 +5,16 @@
|
|||
# - mirror-workspace-git-repos
|
||||
- mirror-info
|
||||
- configure-mirrors
|
||||
|
||||
tasks:
|
||||
# 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.
|
||||
- name: Add origin to local git repos
|
||||
command: "git remote add origin https://{{ item.canonical_name }}"
|
||||
args:
|
||||
chdir: "{{ ansible_user_dir }}/{{ item.src_dir}}"
|
||||
with_items: "{{ zuul.projects.values() | list }}"
|
||||
# ANSIBLE0006: git remote is not supported by ansible module
|
||||
tags:
|
||||
- skip_ansible_lint
|
||||
|
|
Loading…
Reference in New Issue