Use nodejs-npm jobs
Use new native nodejs jobs for lint and test in project-templates. Move nodejs native v3 templates to project-templates file. There are some additional project specific legacy nodejs jobs that install chromium and xvfb in addition, converting them is outside of the scope of this change. Note that the legacy template run node6 only in check as voting job, add it to gate as well now. Add a TODO to the nodejs docs job templates, they are wrong right now. Depends-On: I45294049d9228020b70f6b18265e21fa9385f782 Change-Id: Ib38294ab48ef158a248637de79970ef60bc44f7f
This commit is contained in:
parent
be8c79d8b8
commit
aa692b4c32
@ -434,6 +434,7 @@
|
||||
post-run:
|
||||
- playbooks/javascript/post.yaml
|
||||
- playbooks/javascript/post-tarball.yaml
|
||||
|
||||
- job:
|
||||
name: announce-release
|
||||
description: Send a release announcement after publishing a project
|
||||
|
@ -717,3 +717,45 @@
|
||||
jobs:
|
||||
- openstack-tox-pep8
|
||||
- openstack-tox-build
|
||||
|
||||
- project-template:
|
||||
name: nodejs4-jobs
|
||||
description: |
|
||||
Run lint and test jobs using Node 4.
|
||||
check:
|
||||
jobs:
|
||||
- nodejs-npm-run-lint:
|
||||
vars:
|
||||
node_version: 4
|
||||
- nodejs-npm-run-test:
|
||||
vars:
|
||||
node_version: 4
|
||||
gate:
|
||||
jobs:
|
||||
- nodejs-npm-run-lint:
|
||||
vars:
|
||||
node_version: 4
|
||||
- nodejs-npm-run-test:
|
||||
vars:
|
||||
node_version: 4
|
||||
|
||||
- project-template:
|
||||
name: nodejs6-jobs
|
||||
description: |
|
||||
Run lint and test jobs using Node 6.
|
||||
check:
|
||||
jobs:
|
||||
- nodejs-npm-run-lint:
|
||||
vars:
|
||||
node_version: 6
|
||||
- nodejs-npm-run-test:
|
||||
vars:
|
||||
node_version: 6
|
||||
gate:
|
||||
jobs:
|
||||
- nodejs-npm-run-lint:
|
||||
vars:
|
||||
node_version: 6
|
||||
- nodejs-npm-run-test:
|
||||
vars:
|
||||
node_version: 6
|
||||
|
@ -310,6 +310,7 @@
|
||||
- legacy-tempest-dsvm-neutron-src-plugin
|
||||
|
||||
- project-template:
|
||||
# TODO(jaegerandi): This is broken, should use npm docs
|
||||
name: nodejs4-docs
|
||||
check:
|
||||
jobs:
|
||||
@ -318,19 +319,9 @@
|
||||
jobs:
|
||||
- build-openstack-sphinx-docs
|
||||
|
||||
- project-template:
|
||||
name: nodejs4-jobs
|
||||
check:
|
||||
jobs:
|
||||
- legacy-nodejs4-npm-run-lint
|
||||
- legacy-nodejs4-npm-run-test
|
||||
gate:
|
||||
jobs:
|
||||
- legacy-nodejs4-npm-run-lint
|
||||
- legacy-nodejs4-npm-run-test
|
||||
|
||||
- project-template:
|
||||
name: nodejs6-docs
|
||||
# TODO(jaegerandi): This is broken, should use npm docs
|
||||
check:
|
||||
jobs:
|
||||
- build-openstack-sphinx-docs
|
||||
@ -338,13 +329,6 @@
|
||||
jobs:
|
||||
- build-openstack-sphinx-docs
|
||||
|
||||
- project-template:
|
||||
name: nodejs6-jobs
|
||||
check:
|
||||
jobs:
|
||||
- legacy-nodejs6-npm-run-lint
|
||||
- legacy-nodejs6-npm-run-test
|
||||
|
||||
- project-template:
|
||||
name: noop-jobs
|
||||
check:
|
||||
|
Loading…
x
Reference in New Issue
Block a user