Add cross-horizon-npm

Horizon npm job depends on XStatic-* packages. Any breakig changes to XStatic-*
packages will be found only by npm tests.

Change-Id: I29a17c8a0ec857d3f1692440be052da83a7e0bdf
This commit is contained in:
Ivan Kolodyazhny 2018-09-23 14:16:51 +03:00
parent daa312dfdc
commit 7e761e58d0
2 changed files with 31 additions and 0 deletions

View File

@ -19,6 +19,27 @@
- upper-constraints.txt - upper-constraints.txt
- .zuul.d/cross-jobs.yaml - .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: - job:
name: cross-cinder-py27 name: cross-cinder-py27
parent: requirements-cross-test parent: requirements-cross-test
@ -67,6 +88,14 @@
vars: vars:
tox_envlist: py35 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: - job:
name: cross-keystone-py27 name: cross-keystone-py27
parent: requirements-cross-test parent: requirements-cross-test

View File

@ -34,6 +34,7 @@
- cross-glance-py35 - cross-glance-py35
- cross-horizon-py27 - cross-horizon-py27
- cross-horizon-py35 - cross-horizon-py35
- cross-horizon-npm
- cross-keystone-py27 - cross-keystone-py27
- cross-keystone-py35 - cross-keystone-py35
- cross-neutron-py27 - cross-neutron-py27
@ -82,6 +83,7 @@
- cross-glance-py35 - cross-glance-py35
- cross-horizon-py27 - cross-horizon-py27
- cross-horizon-py35 - cross-horizon-py35
- cross-horizon-npm
- cross-keystone-py27 - cross-keystone-py27
- cross-keystone-py35 - cross-keystone-py35
- cross-neutron-py27 - cross-neutron-py27