Add a Zuul v3 native cross-check job
Convert the existing legacy-cross-* jobs over to the new cross-check-job. Adds a small bump to upper-constraints in order to test the success of this review. Co-Authored-By: Dirk Mueller <dirk@dmllr.de> Change-Id: Iba6a025e3a10185ad1d8217244b967713cace3f6
This commit is contained in:
parent
1514d3fb7f
commit
339b108aee
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:
|
||||
jobs:
|
||||
- openstack-tox-validate
|
||||
- legacy-cross-cinder-python27:
|
||||
files: ^upper-constraints.txt$
|
||||
- legacy-cross-cinder-python35:
|
||||
- cross-cinder-py27
|
||||
- cross-cinder-py35:
|
||||
branches: ^(?!stable/(newton|ocata)).*$
|
||||
files: ^upper-constraints.txt$
|
||||
- legacy-cross-glance-python27:
|
||||
files: ^upper-constraints.txt$
|
||||
- legacy-cross-glance-python35:
|
||||
- cross-glance-py27
|
||||
- cross-glance-py35:
|
||||
branches: ^(?!stable/(newton|ocata)).*$
|
||||
files: ^upper-constraints.txt$
|
||||
- legacy-cross-horizon-python27:
|
||||
files: ^upper-constraints.txt$
|
||||
- legacy-cross-horizon-python35:
|
||||
- cross-horizon-py27
|
||||
- cross-horizon-py35:
|
||||
branches: ^(?!stable/(newton|ocata)).*$
|
||||
files: ^upper-constraints.txt$
|
||||
- legacy-cross-keystone-python27:
|
||||
files: ^upper-constraints.txt$
|
||||
- legacy-cross-keystone-python35:
|
||||
- cross-keystone-py27
|
||||
- cross-keystone-py35:
|
||||
branches: ^(?!stable/(newton|ocata)).*$
|
||||
files: ^upper-constraints.txt$
|
||||
- legacy-cross-neutron-python27:
|
||||
files: ^upper-constraints.txt$
|
||||
- legacy-cross-neutron-python35:
|
||||
- cross-neutron-py27
|
||||
- cross-neutron-py35:
|
||||
branches: ^(?!stable/(newton|ocata)).*$
|
||||
files: ^upper-constraints.txt$
|
||||
- legacy-cross-nova-python27:
|
||||
files: ^upper-constraints.txt$
|
||||
- legacy-cross-nova-python35:
|
||||
- cross-nova-py27
|
||||
- cross-nova-py35:
|
||||
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:
|
||||
- cross-nova-functional
|
||||
- cross-swift-py27
|
||||
- cross-swift-py35:
|
||||
branches: ^(?!stable/(newton|ocata)).*$
|
||||
files: ^upper-constraints.txt$
|
||||
gate:
|
||||
queue: integrated
|
||||
jobs:
|
||||
- openstack-tox-validate
|
||||
- legacy-cross-cinder-python27:
|
||||
files: ^upper-constraints.txt$
|
||||
- legacy-cross-cinder-python35:
|
||||
- cross-cinder-py27
|
||||
- cross-cinder-py35:
|
||||
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)).*$
|
||||
files: ^upper-constraints.txt$
|
||||
- legacy-cross-glance-python27:
|
||||
files: ^upper-constraints.txt$
|
||||
- legacy-cross-glance-python35:
|
||||
- cross-nova-functional
|
||||
- cross-swift-py27
|
||||
- cross-swift-py35:
|
||||
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
|
||||
tzlocal===1.4
|
||||
python-novaclient===9.1.1
|
||||
bcrypt===3.1.3
|
||||
bcrypt===3.1.4
|
||||
os-client-config===1.28.0
|
||||
XStatic-Angular-Gettext===2.3.8.0
|
||||
Pygments===2.2.0
|
||||
|
Loading…
Reference in New Issue
Block a user