cbd4a2f0cf
In the follow-on job I268fb7e1dc753c82983736572b3df2f152f8cf51 I have modified upper-constraints.txt but it seems like the cross-horizon-npm is still trying to use the constraints from releases.openstack.org, so not picking up the change in the gate. It seems that horizon calls "tox -e npm" as part of it's npm magic, but doesn't use the checked-out version of upper-constraints.txt. The dependent patch uses tox_constraints_file to set UPPER_CONSTRAINTS_FILE, which should hopefully pick up the right installation candidates. This should allow the job to become voting again. Depends-On: https://review.opendev.org/709414 Change-Id: Id9a465bd106940a1e286e8090be2186becc1c9f0
166 lines
4.6 KiB
YAML
166 lines
4.6 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).
|
|
nodeset: ubuntu-bionic
|
|
vars:
|
|
zuul_work_dir: "{{ (zuul.projects.values() | selectattr('required') | selectattr('name', 'match', '^(?!openstack/requirements)') | list)[0].src_dir }}"
|
|
tox_constraints_file: "{{ ansible_user_dir }}/{{ zuul.projects['opendev.org/openstack/requirements'].src_dir }}/upper-constraints.txt"
|
|
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 }}"
|
|
tox_constraints_file: "{{ ansible_user_dir }}/{{ zuul.projects['opendev.org/openstack/requirements'].src_dir }}/upper-constraints.txt"
|
|
files:
|
|
- upper-constraints.txt
|
|
- .zuul.d/cross-jobs.yaml
|
|
|
|
- job:
|
|
name: cross-cinder-py36
|
|
parent: requirements-cross-test
|
|
description: Run cross-project tests on cinder with py36.
|
|
required-projects: openstack/cinder
|
|
vars:
|
|
tox_envlist: py36
|
|
|
|
- job:
|
|
name: cross-glance-py36
|
|
parent: requirements-cross-test
|
|
description: Run cross-project tests on glance with py36.
|
|
required-projects: openstack/glance
|
|
vars:
|
|
tox_envlist: py36
|
|
|
|
- job:
|
|
name: cross-horizon-py36
|
|
parent: requirements-cross-test
|
|
description: Run cross-project tests on horizon with py36.
|
|
required-projects: openstack/horizon
|
|
vars:
|
|
tox_envlist: py36
|
|
|
|
- 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-py36
|
|
parent: requirements-cross-test
|
|
description: Run cross-project tests on keystone with py36.
|
|
required-projects: openstack/keystone
|
|
timeout: 3600
|
|
vars:
|
|
tox_envlist: py36
|
|
|
|
- job:
|
|
name: cross-neutron-py36
|
|
parent: requirements-cross-test
|
|
description: Run cross-project tests on neutron with py36.
|
|
required-projects: openstack/neutron
|
|
vars:
|
|
tox_envlist: py36
|
|
|
|
- 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-py36
|
|
parent: requirements-cross-test
|
|
description: Run cross-project tests on nova with py36.
|
|
required-projects: openstack/nova
|
|
vars:
|
|
tox_envlist: py36
|
|
|
|
- job:
|
|
name: cross-nova-py37
|
|
parent: requirements-cross-test
|
|
description: Run cross-project tests on nova with py37.
|
|
required-projects: openstack/nova
|
|
vars:
|
|
tox_envlist: py37
|
|
python_version: 3.7
|
|
|
|
- job:
|
|
name: cross-octavia-py36
|
|
parent: requirements-cross-test
|
|
description: Run cross-project tests on octavia with py36.
|
|
required-projects: openstack/octavia
|
|
vars:
|
|
tox_envlist: py36
|
|
|
|
- job:
|
|
name: cross-octavia-py37
|
|
parent: requirements-cross-test
|
|
description: Run cross-project tests on octavia with py37.
|
|
required-projects: openstack/octavia
|
|
vars:
|
|
tox_envlist: py37
|
|
python_version: 3.7
|
|
|
|
- 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-py36
|
|
parent: requirements-cross-test
|
|
description: Run cross-project tests on swift with py36.
|
|
required-projects: openstack/swift
|
|
vars:
|
|
tox_envlist: py36
|
|
|
|
- job:
|
|
name: cross-osc-tox-docs
|
|
parent: openstack-tox-docs
|
|
description: |
|
|
Run cross-project tests on python-openstackclient with
|
|
openstack-tox-docs.
|
|
vars:
|
|
zuul_work_dir: src/opendev.org/openstack/python-openstackclient
|
|
required-projects:
|
|
- openstack/python-openstackclient
|
|
files:
|
|
- upper-constraints.txt
|
|
- .zuul.d/cross-jobs.yaml
|