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$
|
||||
- ^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:
|
||||
name: horizon-nodejs4-jobs
|
||||
description: |
|
||||
Run lint and test jobs using Node 4 for horizon plugins.
|
||||
check:
|
||||
jobs:
|
||||
- nodejs-npm-run-lint:
|
||||
vars:
|
||||
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
|
||||
- nodejs4-npm-run-lint
|
||||
- nodejs4-npm-run-test
|
||||
gate:
|
||||
jobs:
|
||||
- nodejs-npm-run-lint:
|
||||
vars:
|
||||
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
|
||||
- nodejs4-npm-run-lint
|
||||
- nodejs4-npm-run-test
|
||||
|
||||
- project-template:
|
||||
name: horizon-nodejs4-jobs-nonvoting
|
||||
@ -133,19 +157,33 @@
|
||||
Run lint and test jobs using Node 4 for horizon plugins.
|
||||
check:
|
||||
jobs:
|
||||
- nodejs-npm-run-lint:
|
||||
vars:
|
||||
node_version: 4
|
||||
nodeset: ubuntu-xenial
|
||||
required-projects:
|
||||
openstack/horizon
|
||||
- nodejs4-npm-run-lint:
|
||||
voting: false
|
||||
- nodejs-npm-run-test:
|
||||
vars:
|
||||
node_version: 4
|
||||
nodeset: ubuntu-xenial
|
||||
required-projects:
|
||||
openstack/horizon
|
||||
- nodejs4-npm-run-test:
|
||||
voting: false
|
||||
|
||||
- project-template:
|
||||
name: horizon-nodejs10-jobs
|
||||
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
|
||||
|
||||
- project:
|
||||
|
Loading…
Reference in New Issue
Block a user