Setup project-template for nodejs10 jobs
Monty recently setup a project-template for nodejs4 jobs[1], but some projects (Octavia for one) want to be bionic/nodejs10 (LTS) ready. This patch sets up a template for bionic nodepool instances using nodejs 10 (LTS). [1] https://review.openstack.org/#/c/643198 Change-Id: Ibc2c4b5b5207e66700b5c4e04aca3c6a00d392be
This commit is contained in:
parent
eb98a12bf0
commit
7fbf2b5c00
110
.zuul.yaml
110
.zuul.yaml
@ -94,38 +94,62 @@
|
|||||||
- ^setup.cfg$
|
- ^setup.cfg$
|
||||||
- ^tools/.*$
|
- ^tools/.*$
|
||||||
|
|
||||||
|
- job:
|
||||||
|
name: nodejs4-npm-run-lint
|
||||||
|
parent: nodejs-npm-run-lint
|
||||||
|
description: |
|
||||||
|
Run lint using Node 4 for horizon plugins.
|
||||||
|
vars:
|
||||||
|
node_version: 4
|
||||||
|
nodeset: ubuntu-xenial
|
||||||
|
required-projects:
|
||||||
|
openstack/horizon
|
||||||
|
|
||||||
|
- job:
|
||||||
|
name: nodejs4-npm-run-test
|
||||||
|
parent: nodejs-npm-run-test
|
||||||
|
description: |
|
||||||
|
Run test using Node 4 for horizon plugins.
|
||||||
|
vars:
|
||||||
|
node_version: 4
|
||||||
|
nodeset: ubuntu-xenial
|
||||||
|
required-projects:
|
||||||
|
openstack/horizon
|
||||||
|
|
||||||
|
- job:
|
||||||
|
name: nodejs10-npm-run-lint
|
||||||
|
parent: nodejs-npm-run-lint
|
||||||
|
description: |
|
||||||
|
Run lint using Node 10 for horizon plugins.
|
||||||
|
vars:
|
||||||
|
node_version: 10
|
||||||
|
nodeset: ubuntu-bionic
|
||||||
|
required-projects:
|
||||||
|
openstack/horizon
|
||||||
|
|
||||||
|
- job:
|
||||||
|
name: nodejs10-npm-run-test
|
||||||
|
parent: nodejs-npm-run-test
|
||||||
|
description: |
|
||||||
|
Run test using Node 10 for horizon plugins.
|
||||||
|
vars:
|
||||||
|
node_version: 10
|
||||||
|
nodeset: ubuntu-bionic
|
||||||
|
required-projects:
|
||||||
|
openstack/horizon
|
||||||
|
|
||||||
- project-template:
|
- project-template:
|
||||||
name: horizon-nodejs4-jobs
|
name: horizon-nodejs4-jobs
|
||||||
description: |
|
description: |
|
||||||
Run lint and test jobs using Node 4 for horizon plugins.
|
Run lint and test jobs using Node 4 for horizon plugins.
|
||||||
check:
|
check:
|
||||||
jobs:
|
jobs:
|
||||||
- nodejs-npm-run-lint:
|
- nodejs4-npm-run-lint
|
||||||
vars:
|
- nodejs4-npm-run-test
|
||||||
node_version: 4
|
|
||||||
nodeset: ubuntu-xenial
|
|
||||||
required-projects:
|
|
||||||
openstack/horizon
|
|
||||||
- nodejs-npm-run-test:
|
|
||||||
vars:
|
|
||||||
node_version: 4
|
|
||||||
nodeset: ubuntu-xenial
|
|
||||||
required-projects:
|
|
||||||
openstack/horizon
|
|
||||||
gate:
|
gate:
|
||||||
jobs:
|
jobs:
|
||||||
- nodejs-npm-run-lint:
|
- nodejs4-npm-run-lint
|
||||||
vars:
|
- nodejs4-npm-run-test
|
||||||
node_version: 4
|
|
||||||
nodeset: ubuntu-xenial
|
|
||||||
required-projects:
|
|
||||||
openstack/horizon
|
|
||||||
- nodejs-npm-run-test:
|
|
||||||
vars:
|
|
||||||
node_version: 4
|
|
||||||
nodeset: ubuntu-xenial
|
|
||||||
required-projects:
|
|
||||||
openstack/horizon
|
|
||||||
|
|
||||||
- project-template:
|
- project-template:
|
||||||
name: horizon-nodejs4-jobs-nonvoting
|
name: horizon-nodejs4-jobs-nonvoting
|
||||||
@ -133,19 +157,33 @@
|
|||||||
Run lint and test jobs using Node 4 for horizon plugins.
|
Run lint and test jobs using Node 4 for horizon plugins.
|
||||||
check:
|
check:
|
||||||
jobs:
|
jobs:
|
||||||
- nodejs-npm-run-lint:
|
- nodejs4-npm-run-lint:
|
||||||
vars:
|
|
||||||
node_version: 4
|
|
||||||
nodeset: ubuntu-xenial
|
|
||||||
required-projects:
|
|
||||||
openstack/horizon
|
|
||||||
voting: false
|
voting: false
|
||||||
- nodejs-npm-run-test:
|
- nodejs4-npm-run-test:
|
||||||
vars:
|
voting: false
|
||||||
node_version: 4
|
|
||||||
nodeset: ubuntu-xenial
|
- project-template:
|
||||||
required-projects:
|
name: horizon-nodejs10-jobs
|
||||||
openstack/horizon
|
description: |
|
||||||
|
Run lint and test jobs using Node 10 (LTS) for horizon plugins.
|
||||||
|
check:
|
||||||
|
jobs:
|
||||||
|
- nodejs10-npm-run-lint
|
||||||
|
- nodejs10-npm-run-test
|
||||||
|
gate:
|
||||||
|
jobs:
|
||||||
|
- nodejs10-npm-run-lint
|
||||||
|
- nodejs10-npm-run-test
|
||||||
|
|
||||||
|
- project-template:
|
||||||
|
name: horizon-nodejs10-jobs-nonvoting
|
||||||
|
description: |
|
||||||
|
Run lint and test jobs using Node 10 (LTS) for horizon plugins.
|
||||||
|
check:
|
||||||
|
jobs:
|
||||||
|
- nodejs10-npm-run-lint:
|
||||||
|
voting: false
|
||||||
|
- nodejs10-npm-run-test:
|
||||||
voting: false
|
voting: false
|
||||||
|
|
||||||
- project:
|
- project:
|
||||||
|
Loading…
Reference in New Issue
Block a user