Skip puppet-* projects for plugin search
openstack/puppet-* projects can be skipped to search for tempest plugin. Change-Id: I8ca7bd944f250b168077ffc8c82b9bddb338eddb
This commit is contained in:
parent
11e74de2e8
commit
95b68befc4
@ -75,11 +75,13 @@ r = urllib.urlopen(url)
|
||||
# json library won't choke.
|
||||
projects = sorted(filter(is_in_openstack_namespace, json.loads(r.read()[4:])))
|
||||
|
||||
# Retrieve projects having no deb, ui or spec namespace as those namespaces
|
||||
# do not contains tempest plugins.
|
||||
projects_list = [i for i in projects if not (i.startswith('openstack/deb-') or
|
||||
i.endswith('-ui') or
|
||||
i.endswith('-specs'))]
|
||||
# Retrieve projects having no deb, puppet, ui or spec namespace as those
|
||||
# namespaces do not contains tempest plugins.
|
||||
projects_list = [i for i in projects if not (
|
||||
i.startswith('openstack/deb-') or
|
||||
i.startswith('openstack/puppet-') or
|
||||
i.endswith('-ui') or
|
||||
i.endswith('-specs'))]
|
||||
|
||||
found_plugins = list(filter(has_tempest_plugin, projects_list))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user