requirements/.zuul.d/cross-jobs.yaml
James E. Blair f46801ec77 Use xenial for all py35 jobs
The default nodeset is now bionic which does not include py35, so
we need to explicitly request a nodeset which does.

Change-Id: I8b0ce86299fc1240a14492d9c0823647b41afaa3
2019-03-14 08:46:37 -07:00

191 lines
5.1 KiB
YAML

- job:
name: requirements-cross-test
parent: openstack-tox
timeout: 2400
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).
vars:
zuul_work_dir: "{{ (zuul.projects.values() | selectattr('required') | selectattr('name', 'match', '^(?!openstack/requirements)') | list)[0].src_dir }}"
files:
- upper-constraints.txt
- .zuul.d/cross-jobs.yaml
- job:
name: requirements-cross-npm
parent: nodejs-npm-run-test
timeout: 2400
description: |
A parent job to perform cross-repository npm 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).
vars:
zuul_work_dir: "{{ (zuul.projects.values() | selectattr('required') | selectattr('name', 'match', '^(?!openstack/requirements)') | list)[0].src_dir }}"
files:
- upper-constraints.txt
- .zuul.d/cross-jobs.yaml
- 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
nodeset: ubuntu-xenial
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
nodeset: ubuntu-xenial
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
nodeset: ubuntu-xenial
vars:
tox_envlist: py35
- job:
name: cross-horizon-npm
parent: requirements-cross-npm
description: Run cross-project tests on horizon with npm.
required-projects: openstack/horizon
vars:
tox_envlist: npm
- 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
nodeset: ubuntu-xenial
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
nodeset: ubuntu-xenial
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
nodeset: ubuntu-xenial
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
nodeset: ubuntu-xenial
vars:
tox_envlist: py35
- job:
name: cross-osc-build-sphinx-docs
parent: build-openstack-sphinx-docs
description: |
Run cross-project tests on python-openstackclient with
build-openstack-sphinx-docs.
vars:
zuul_work_dir: src/git.openstack.org/openstack/python-openstackclient
required-projects:
- openstack/python-openstackclient
files:
- upper-constraints.txt
- .zuul.d/cross-jobs.yaml