horizon/.zuul.d/nodejs-jobs.yaml
Akihiro Motoki ef1270167b zuul: break down config files into pieces
Our .zuul.yaml is long enough now. Let's split it into meaningful
pieces for better readability.

Change-Id: I53daefd95946d19d8f4f5845f0e83bf652c3a9aa
2020-06-24 17:33:06 +09:00

52 lines
1.5 KiB
YAML

- job:
name: horizon-nodejs10-run-lint
parent: nodejs-run-lint
description: |
Run lint using Node 10 for horizon plugins.
vars:
node_version: 10
tox_constraints_file: "{{ ansible_user_dir }}/{{ zuul.projects['opendev.org/openstack/requirements'].src_dir }}/upper-constraints.txt"
nodeset: ubuntu-bionic
pre-run: playbooks/horizon-nodejs/pre.yaml
required-projects:
- openstack/horizon
- openstack/requirements
- job:
name: horizon-nodejs10-run-test
parent: nodejs-run-test-browser
description: |
Run test using Node 10 for horizon plugins.
vars:
node_version: 10
tox_constraints_file: "{{ ansible_user_dir }}/{{ zuul.projects['opendev.org/openstack/requirements'].src_dir }}/upper-constraints.txt"
pre-run: playbooks/horizon-nodejs/pre.yaml
nodeset: ubuntu-bionic
required-projects:
- openstack/horizon
- openstack/requirements
- project-template:
name: horizon-nodejs10-jobs
description: |
Run lint and test jobs using Node 10 (LTS) for horizon plugins.
check:
jobs:
- horizon-nodejs10-run-lint
- horizon-nodejs10-run-test
gate:
jobs:
- horizon-nodejs10-run-lint
- horizon-nodejs10-run-test
- project-template:
name: horizon-nodejs10-jobs-nonvoting
description: |
Run lint and test jobs using Node 10 (LTS) for horizon plugins.
check:
jobs:
- horizon-nodejs10-run-lint:
voting: false
- horizon-nodejs10-run-test:
voting: false