Loop over required-projects
This catches projects that may not be listed dependencies in openstackclient yet. Change-Id: I2052a7885d8fb042305fc0fb3464927953529012
This commit is contained in:
parent
ecd97cae73
commit
d5e70f68b5
|
@ -30,9 +30,14 @@
|
|||
- openstack/python-watcherclient
|
||||
- openstack/python-zaqarclient
|
||||
|
||||
- project:
|
||||
name: openstack/openstackclient
|
||||
- project-template:
|
||||
name: openstackclient-plugin-jobs
|
||||
check:
|
||||
jobs:
|
||||
- openstackclient-check-plugins:
|
||||
|
||||
- project:
|
||||
name: openstack/openstackclient
|
||||
templates:
|
||||
- openstackclient-plugin-jobs:
|
||||
voting: false
|
||||
|
|
|
@ -1,11 +1,19 @@
|
|||
- hosts: all
|
||||
name: Run osc plugin check script
|
||||
name: Run openstackclient plugin check
|
||||
tasks:
|
||||
|
||||
- shell:
|
||||
cmd: |
|
||||
virtualenv osc_plugins
|
||||
osc_plugins/bin/pip install -e src/git.openstack.org/openstack/openstackclient
|
||||
|
||||
- shell:
|
||||
cmd: |
|
||||
osc_plugins/bin/pip install -e src/git.openstack.org/openstack/{{ item }}
|
||||
with_items: "{{ job.required-projects }}"
|
||||
|
||||
- shell:
|
||||
cmd: |
|
||||
osc_plugins/bin/pip freeze
|
||||
# Finally install the change under test
|
||||
osc_plugins/bin/pip install -e src/{{ zuul.project.canonical_name }}
|
||||
osc_plugins/bin/openstack --version
|
||||
|
|
Loading…
Reference in New Issue