horizon/.zuul.d/cross-jobs.yaml
Akihiro Motoki 5ef6821172 Add plugin cross jobs
This commit adds two types of cross repository jobs: python unit test and
npm test. The initial commit covers the following plugins as non-voting jobs.
They can be used as templates if more projects are tested as cross jobs.

* manila-ui for python unit test
* ironic-ui for npm test

Note that ironic-ui python unit test has only one test which checks
the panel is registered expectedly, so I don't think we need to cover
ironic-ui as a cross python unit test job.

Change-Id: I569097d6088a99542f3694e18c8d00a2b0dcf9a1
2020-07-01 12:28:37 +09:00

26 lines
682 B
YAML

- project-template:
name: horizon-cross-jobs
check:
jobs:
- horizon-cross-manila-ui-python:
voting: false
- horizon-cross-ironic-ui-npm:
voting: false
- job:
name: horizon-cross-manila-ui-python
parent: openstack-tox
vars:
tox_envlist: py38
zuul_work_dir: "{{ zuul.projects['opendev.org/openstack/manila-ui'].src_dir }}"
required-projects:
- openstack/manila-ui
- job:
name: horizon-cross-ironic-ui-npm
parent: horizon-nodejs10-run-test
vars:
zuul_work_dir: "{{ zuul.projects['opendev.org/openstack/ironic-ui'].src_dir }}"
required-projects:
- openstack/ironic-ui