Merge "Add a Zuul v3 native cross-check job"
This commit is contained in:
commit
d108f3da71
136
.zuul.d/cross-jobs.yaml
Normal file
136
.zuul.d/cross-jobs.yaml
Normal file
@ -0,0 +1,136 @@
|
|||||||
|
- job:
|
||||||
|
name: requirements-cross-test
|
||||||
|
parent: openstack-tox
|
||||||
|
description: |
|
||||||
|
A parent job to perform cross-repository tests.
|
||||||
|
|
||||||
|
Inherit from this job, and add the intended project to
|
||||||
|
``required-projects``.
|
||||||
|
|
||||||
|
Also, set the following variable:
|
||||||
|
|
||||||
|
.. zuul:jobvar:: tox_envlist
|
||||||
|
|
||||||
|
Use the specified tox environments (``ALL`` selects all).
|
||||||
|
run: playbooks/requirements-cross-test
|
||||||
|
files: ^upper-constraints.txt$
|
||||||
|
|
||||||
|
- job:
|
||||||
|
name: cross-cinder-py27
|
||||||
|
parent: requirements-cross-test
|
||||||
|
description: Run cross-project tests on cinder with py27.
|
||||||
|
required-projects: openstack/cinder
|
||||||
|
vars:
|
||||||
|
tox_envlist: py27
|
||||||
|
|
||||||
|
- job:
|
||||||
|
name: cross-cinder-py35
|
||||||
|
parent: requirements-cross-test
|
||||||
|
description: Run cross-project tests on cinder with py35.
|
||||||
|
required-projects: openstack/cinder
|
||||||
|
vars:
|
||||||
|
tox_envlist: py35
|
||||||
|
|
||||||
|
- job:
|
||||||
|
name: cross-glance-py27
|
||||||
|
parent: requirements-cross-test
|
||||||
|
description: Run cross-project tests on glance with py27.
|
||||||
|
required-projects: openstack/glance
|
||||||
|
vars:
|
||||||
|
tox_envlist: py27
|
||||||
|
|
||||||
|
- job:
|
||||||
|
name: cross-glance-py35
|
||||||
|
parent: requirements-cross-test
|
||||||
|
description: Run cross-project tests on glance with py35.
|
||||||
|
required-projects: openstack/glance
|
||||||
|
vars:
|
||||||
|
tox_envlist: py35
|
||||||
|
|
||||||
|
- job:
|
||||||
|
name: cross-horizon-py27
|
||||||
|
parent: requirements-cross-test
|
||||||
|
description: Run cross-project tests on horizon with py27.
|
||||||
|
required-projects: openstack/horizon
|
||||||
|
vars:
|
||||||
|
tox_envlist: py27
|
||||||
|
|
||||||
|
- job:
|
||||||
|
name: cross-horizon-py35
|
||||||
|
parent: requirements-cross-test
|
||||||
|
description: Run cross-project tests on horizon with py35.
|
||||||
|
required-projects: openstack/horizon
|
||||||
|
vars:
|
||||||
|
tox_envlist: py35
|
||||||
|
|
||||||
|
- job:
|
||||||
|
name: cross-keystone-py27
|
||||||
|
parent: requirements-cross-test
|
||||||
|
description: Run cross-project tests on keystone with py27.
|
||||||
|
required-projects: openstack/keystone
|
||||||
|
vars:
|
||||||
|
tox_envlist: py27
|
||||||
|
|
||||||
|
- job:
|
||||||
|
name: cross-keystone-py35
|
||||||
|
parent: requirements-cross-test
|
||||||
|
description: Run cross-project tests on keystone with py35.
|
||||||
|
required-projects: openstack/keystone
|
||||||
|
vars:
|
||||||
|
tox_envlist: py35
|
||||||
|
|
||||||
|
- job:
|
||||||
|
name: cross-neutron-py27
|
||||||
|
parent: requirements-cross-test
|
||||||
|
description: Run cross-project tests on neutron with py27.
|
||||||
|
required-projects: openstack/neutron
|
||||||
|
vars:
|
||||||
|
tox_envlist: py27
|
||||||
|
|
||||||
|
- job:
|
||||||
|
name: cross-neutron-py35
|
||||||
|
parent: requirements-cross-test
|
||||||
|
description: Run cross-project tests on neutron with py35.
|
||||||
|
required-projects: openstack/neutron
|
||||||
|
vars:
|
||||||
|
tox_envlist: py35
|
||||||
|
|
||||||
|
- job:
|
||||||
|
name: cross-nova-functional
|
||||||
|
parent: requirements-cross-test
|
||||||
|
description: Run cross-project functional tests on nova.
|
||||||
|
required-projects: openstack/nova
|
||||||
|
vars:
|
||||||
|
tox_envlist: functional
|
||||||
|
|
||||||
|
- job:
|
||||||
|
name: cross-nova-py27
|
||||||
|
parent: requirements-cross-test
|
||||||
|
description: Run cross-project tests on nova with py27.
|
||||||
|
required-projects: openstack/nova
|
||||||
|
vars:
|
||||||
|
tox_envlist: py27
|
||||||
|
|
||||||
|
- job:
|
||||||
|
name: cross-nova-py35
|
||||||
|
parent: requirements-cross-test
|
||||||
|
description: Run cross-project tests on nova with py35.
|
||||||
|
required-projects: openstack/nova
|
||||||
|
vars:
|
||||||
|
tox_envlist: py35
|
||||||
|
|
||||||
|
- job:
|
||||||
|
name: cross-swift-py27
|
||||||
|
parent: requirements-cross-test
|
||||||
|
description: Run cross-project tests on swift with py27.
|
||||||
|
required-projects: openstack/swift
|
||||||
|
vars:
|
||||||
|
tox_envlist: py27
|
||||||
|
|
||||||
|
- job:
|
||||||
|
name: cross-swift-py35
|
||||||
|
parent: requirements-cross-test
|
||||||
|
description: Run cross-project tests on swift with py35.
|
||||||
|
required-projects: openstack/swift
|
||||||
|
vars:
|
||||||
|
tox_envlist: py35
|
@ -3,81 +3,52 @@
|
|||||||
check:
|
check:
|
||||||
jobs:
|
jobs:
|
||||||
- openstack-tox-validate
|
- openstack-tox-validate
|
||||||
- legacy-cross-cinder-python27:
|
- cross-cinder-py27
|
||||||
files: ^upper-constraints.txt$
|
- cross-cinder-py35:
|
||||||
- legacy-cross-cinder-python35:
|
|
||||||
branches: ^(?!stable/(newton|ocata)).*$
|
branches: ^(?!stable/(newton|ocata)).*$
|
||||||
files: ^upper-constraints.txt$
|
- cross-glance-py27
|
||||||
- legacy-cross-glance-python27:
|
- cross-glance-py35:
|
||||||
files: ^upper-constraints.txt$
|
|
||||||
- legacy-cross-glance-python35:
|
|
||||||
branches: ^(?!stable/(newton|ocata)).*$
|
branches: ^(?!stable/(newton|ocata)).*$
|
||||||
files: ^upper-constraints.txt$
|
- cross-horizon-py27
|
||||||
- legacy-cross-horizon-python27:
|
- cross-horizon-py35:
|
||||||
files: ^upper-constraints.txt$
|
|
||||||
- legacy-cross-horizon-python35:
|
|
||||||
branches: ^(?!stable/(newton|ocata)).*$
|
branches: ^(?!stable/(newton|ocata)).*$
|
||||||
files: ^upper-constraints.txt$
|
- cross-keystone-py27
|
||||||
- legacy-cross-keystone-python27:
|
- cross-keystone-py35:
|
||||||
files: ^upper-constraints.txt$
|
|
||||||
- legacy-cross-keystone-python35:
|
|
||||||
branches: ^(?!stable/(newton|ocata)).*$
|
branches: ^(?!stable/(newton|ocata)).*$
|
||||||
files: ^upper-constraints.txt$
|
- cross-neutron-py27
|
||||||
- legacy-cross-neutron-python27:
|
- cross-neutron-py35:
|
||||||
files: ^upper-constraints.txt$
|
|
||||||
- legacy-cross-neutron-python35:
|
|
||||||
branches: ^(?!stable/(newton|ocata)).*$
|
branches: ^(?!stable/(newton|ocata)).*$
|
||||||
files: ^upper-constraints.txt$
|
- cross-nova-py27
|
||||||
- legacy-cross-nova-python27:
|
- cross-nova-py35:
|
||||||
files: ^upper-constraints.txt$
|
|
||||||
- legacy-cross-nova-python35:
|
|
||||||
branches: ^(?!stable/(newton|ocata)).*$
|
branches: ^(?!stable/(newton|ocata)).*$
|
||||||
files: ^upper-constraints.txt$
|
- cross-nova-functional
|
||||||
- legacy-cross-nova-func:
|
- cross-swift-py27
|
||||||
files: ^upper-constraints.txt$
|
- cross-swift-py35:
|
||||||
- legacy-cross-swift-python27:
|
|
||||||
files: ^upper-constraints.txt$
|
|
||||||
- legacy-cross-swift-python35:
|
|
||||||
branches: ^(?!stable/(newton|ocata)).*$
|
branches: ^(?!stable/(newton|ocata)).*$
|
||||||
files: ^upper-constraints.txt$
|
|
||||||
gate:
|
gate:
|
||||||
queue: integrated
|
queue: integrated
|
||||||
jobs:
|
jobs:
|
||||||
- openstack-tox-validate
|
- openstack-tox-validate
|
||||||
- legacy-cross-cinder-python27:
|
- cross-cinder-py27
|
||||||
files: ^upper-constraints.txt$
|
- cross-cinder-py35:
|
||||||
- legacy-cross-cinder-python35:
|
branches: ^(?!stable/(newton|ocata)).*$
|
||||||
|
- cross-glance-py27
|
||||||
|
- cross-glance-py35:
|
||||||
|
branches: ^(?!stable/(newton|ocata)).*$
|
||||||
|
- cross-horizon-py27
|
||||||
|
- cross-horizon-py35:
|
||||||
|
branches: ^(?!stable/(newton|ocata)).*$
|
||||||
|
- cross-keystone-py27
|
||||||
|
- cross-keystone-py35:
|
||||||
|
branches: ^(?!stable/(newton|ocata)).*$
|
||||||
|
- cross-neutron-py27
|
||||||
|
- cross-neutron-py35:
|
||||||
|
branches: ^(?!stable/(newton|ocata)).*$
|
||||||
|
- cross-nova-py27
|
||||||
|
- cross-nova-py35:
|
||||||
branches: ^(?!stable/(newton|ocata)).*$
|
branches: ^(?!stable/(newton|ocata)).*$
|
||||||
files: ^upper-constraints.txt$
|
files: ^upper-constraints.txt$
|
||||||
- legacy-cross-glance-python27:
|
- cross-nova-functional
|
||||||
files: ^upper-constraints.txt$
|
- cross-swift-py27
|
||||||
- legacy-cross-glance-python35:
|
- cross-swift-py35:
|
||||||
branches: ^(?!stable/(newton|ocata)).*$
|
branches: ^(?!stable/(newton|ocata)).*$
|
||||||
files: ^upper-constraints.txt$
|
|
||||||
- legacy-cross-horizon-python27:
|
|
||||||
files: ^upper-constraints.txt$
|
|
||||||
- legacy-cross-horizon-python35:
|
|
||||||
branches: ^(?!stable/(newton|ocata)).*$
|
|
||||||
files: ^upper-constraints.txt$
|
|
||||||
- legacy-cross-keystone-python27:
|
|
||||||
files: ^upper-constraints.txt$
|
|
||||||
- legacy-cross-keystone-python35:
|
|
||||||
branches: ^(?!stable/(newton|ocata)).*$
|
|
||||||
files: ^upper-constraints.txt$
|
|
||||||
- legacy-cross-neutron-python27:
|
|
||||||
files: ^upper-constraints.txt$
|
|
||||||
- legacy-cross-neutron-python35:
|
|
||||||
branches: ^(?!stable/(newton|ocata)).*$
|
|
||||||
files: ^upper-constraints.txt$
|
|
||||||
- legacy-cross-nova-python27:
|
|
||||||
files: ^upper-constraints.txt$
|
|
||||||
- legacy-cross-nova-python35:
|
|
||||||
branches: ^(?!stable/(newton|ocata)).*$
|
|
||||||
files: ^upper-constraints.txt$
|
|
||||||
- legacy-cross-nova-func:
|
|
||||||
files: ^upper-constraints.txt$
|
|
||||||
- legacy-cross-swift-python27:
|
|
||||||
files: ^upper-constraints.txt$
|
|
||||||
- legacy-cross-swift-python35:
|
|
||||||
branches: ^(?!stable/(newton|ocata)).*$
|
|
||||||
files: ^upper-constraints.txt$
|
|
||||||
|
5
playbooks/requirements-cross-test.yaml
Normal file
5
playbooks/requirements-cross-test.yaml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
- hosts: all
|
||||||
|
roles:
|
||||||
|
- role: tox
|
||||||
|
zuul_work_dir: "{{ (zuul.projects | selectattr('required') | selectattr('name', 'match', '^(?!openstack/requirements)') | list)[0].src_dir }}"
|
||||||
|
tox_constraints_file: "{{ ansible_user_dir }}/src/git.openstack.org/openstack/requirements/upper-constraints.txt"
|
@ -180,7 +180,7 @@ libvirt-python===3.8.0
|
|||||||
python-zunclient===0.4.0
|
python-zunclient===0.4.0
|
||||||
tzlocal===1.4
|
tzlocal===1.4
|
||||||
python-novaclient===9.1.1
|
python-novaclient===9.1.1
|
||||||
bcrypt===3.1.3
|
bcrypt===3.1.4
|
||||||
os-client-config===1.28.0
|
os-client-config===1.28.0
|
||||||
XStatic-Angular-Gettext===2.3.8.0
|
XStatic-Angular-Gettext===2.3.8.0
|
||||||
Pygments===2.2.0
|
Pygments===2.2.0
|
||||||
|
Loading…
Reference in New Issue
Block a user