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]
- ^setup.cfg$
- ^tools/.*$
-- project-template:
- name: horizon-nodejs4-jobs
+- job:
+ name: nodejs4-npm-run-lint
+ parent: nodejs-npm-run-lint
description: |
- Run lint and test jobs using Node 4 for horizon plugins.
- check:
- jobs:
- - nodejs-npm-run-lint:
+ Run lint using Node 4 for horizon plugins.
vars:
node_version: 4
nodeset: ubuntu-xenial
required-projects:
openstack/horizon
- - nodejs-npm-run-test:
+
+- 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
- gate:
- jobs:
- - nodejs-npm-run-lint:
+
+- job:
+ name: nodejs10-npm-run-lint
+ parent: nodejs-npm-run-lint
+ description: |
+ Run lint using Node 10 for horizon plugins.
vars:
- node_version: 4
- nodeset: ubuntu-xenial
+ node_version: 10
+ nodeset: ubuntu-bionic
required-projects:
openstack/horizon
- - nodejs-npm-run-test:
+
+- job:
+ name: nodejs10-npm-run-test
+ parent: nodejs-npm-run-test
+ description: |
+ Run test using Node 10 for horizon plugins.
vars:
- node_version: 4
- nodeset: ubuntu-xenial
+ 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:
+ - nodejs4-npm-run-lint
+ - nodejs4-npm-run-test
+ gate:
+ jobs:
+ - nodejs4-npm-run-lint
+ - nodejs4-npm-run-test
+
- project-template:
name: horizon-nodejs4-jobs-nonvoting
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
+ - 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:
