setup-devstack-source-dirs: add var for paths

The paths for the devstack source directories are currently hardcoded,
this patch allows overriding that list.

Change-Id: I2b673b0d110d84658b89bb14663584330deaf3aa
This commit is contained in:
Mohammed Naser 2020-04-26 12:39:05 -04:00
parent 1b01f23b74
commit 332992ace2
2 changed files with 9 additions and 8 deletions

View File

@ -1 +1,9 @@
devstack_base_dir: /opt/stack
devstack_source_dirs:
- src/opendev.org/opendev
- src/opendev.org/openstack
- src/opendev.org/openstack-dev
- src/opendev.org/openstack-infra
- src/opendev.org/starlingx
- src/opendev.org/x
- src/opendev.org/zuul

View File

@ -1,13 +1,6 @@
- name: Find all OpenStack source repos used by this job
find:
paths:
- src/opendev.org/opendev
- src/opendev.org/openstack
- src/opendev.org/openstack-dev
- src/opendev.org/openstack-infra
- src/opendev.org/starlingx
- src/opendev.org/x
- src/opendev.org/zuul
paths: "{{ devstack_source_dirs }}"
file_type: directory
register: found_repos