Switch to new javascript jobs
Change introduces new
javascript jobs that better handle npm or yarn, update the jobs here to
use it.
Change the job names to start with horizon to follow the Zuul job naming
policy.
Depends-On:
- ^tools/.*$
- job:
- name: nodejs10-npm-run-lint
- parent: nodejs-npm-run-lint
+ name: horizon-nodejs10-run-lint
+ parent: nodejs-run-lint
description: |
Run lint using Node 10 for horizon plugins.
vars:
- openstack/requirements
- job:
- name: nodejs10-npm-run-test
- parent: nodejs-npm-run-test
+ name: horizon-nodejs10-run-test
+ parent: nodejs-run-test-browser
description: |
Run test using Node 10 for horizon plugins.
vars:
Run lint and test jobs using Node 10 (LTS) for horizon plugins.
check:
jobs:
- - nodejs10-npm-run-lint
- - nodejs10-npm-run-test
+ - horizon-nodejs10-run-lint
+ - horizon-nodejs10-run-test
gate:
jobs:
- - nodejs10-npm-run-lint
- - nodejs10-npm-run-test
+ - horizon-nodejs10-run-lint
+ - horizon-nodejs10-run-test
- job:
name: horizon-integration-tests-xstatic-master
required-projects: *xstatic-projects
- job:
- name: horizon-nodejs10-npm-run-test-xstatic-master
- parent: nodejs10-npm-run-test
+ name: horizon-nodejs10-run-test-xstatic-master
+ parent: horizon-nodejs10-run-test
required-projects: *xstatic-projects
pre-run: playbooks/npm-test-xstatic-master/pre.yaml
Run lint and test jobs using Node 10 (LTS) for horizon plugins.
check:
jobs:
- - nodejs10-npm-run-lint:
+ - horizon-nodejs10-run-lint:
voting: false
- - nodejs10-npm-run-test:
+ - horizon-nodejs10-run-test:
voting: false
- project-template:
jobs:
- horizon-integration-tests-xstatic-master
- horizon-tox-py36-xstatic-master
- - horizon-nodejs10-npm-run-test-xstatic-master
+ - horizon-nodejs10-run-test-xstatic-master
