Setup project template for nodejs v18 jobs
This patch defines job for for nodejs v18 which is the next LTS version of nodejs[1] and also, the runtime for the 2023.1 cycle[2]. The next step is to remove nodejs v16 jobs once nodejs v18 job passes for the horizon and its plugins. [1] https://nodejs.org/en/about/releases/ [2] https://governance.openstack.org/tc/reference/runtimes/2023.1.html#node-js-runtime-for-2023-1 Depends-On: https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/861876 Change-Id: I8caabe248b4a454f245aa2eedf36b2d63fd90e92
This commit is contained in:
parent
28349ee91b
commit
eaed7513ce
@ -12,6 +12,20 @@
|
||||
- openstack/horizon
|
||||
- openstack/requirements
|
||||
|
||||
- job:
|
||||
name: horizon-nodejs18-run-lint
|
||||
parent: nodejs-run-lint
|
||||
description: |
|
||||
Run lint using Node 18 for horizon plugins.
|
||||
vars:
|
||||
node_version: 18
|
||||
tox_constraints_file: "{{ ansible_user_dir }}/{{ zuul.projects['opendev.org/openstack/requirements'].src_dir }}/upper-constraints.txt"
|
||||
nodeset: ubuntu-focal
|
||||
pre-run: playbooks/horizon-nodejs/pre.yaml
|
||||
required-projects:
|
||||
- openstack/horizon
|
||||
- openstack/requirements
|
||||
|
||||
- job:
|
||||
name: horizon-nodejs16-run-test
|
||||
parent: nodejs-run-test-browser
|
||||
@ -26,6 +40,20 @@
|
||||
- openstack/horizon
|
||||
- openstack/requirements
|
||||
|
||||
- job:
|
||||
name: horizon-nodejs18-run-test
|
||||
parent: nodejs-run-test-browser
|
||||
description: |
|
||||
Run test using Node 18 for horizon plugins.
|
||||
vars:
|
||||
node_version: 18
|
||||
tox_constraints_file: "{{ ansible_user_dir }}/{{ zuul.projects['opendev.org/openstack/requirements'].src_dir }}/upper-constraints.txt"
|
||||
pre-run: playbooks/horizon-nodejs/pre.yaml
|
||||
nodeset: ubuntu-focal
|
||||
required-projects:
|
||||
- openstack/horizon
|
||||
- openstack/requirements
|
||||
|
||||
- project-template:
|
||||
name: horizon-nodejs-jobs
|
||||
description: |
|
||||
@ -39,7 +67,11 @@
|
||||
jobs:
|
||||
- horizon-nodejs16-run-lint
|
||||
- horizon-nodejs16-run-test
|
||||
- horizon-nodejs18-run-lint
|
||||
- horizon-nodejs18-run-test
|
||||
gate:
|
||||
jobs:
|
||||
- horizon-nodejs16-run-lint
|
||||
- horizon-nodejs16-run-test
|
||||
- horizon-nodejs18-run-lint
|
||||
- horizon-nodejs18-run-test
|
||||
|
@ -27,7 +27,9 @@
|
||||
- horizon-integration-tests-xstatic-master
|
||||
- horizon-tox-py36-xstatic-master
|
||||
- horizon-nodejs16-run-test-xstatic-master
|
||||
- horizon-nodejs18-run-test-xstatic-master
|
||||
periodic:
|
||||
jobs:
|
||||
- horizon-nodejs16-run-test
|
||||
- horizon-nodejs18-run-test
|
||||
- horizon-integration-tests
|
||||
|
@ -35,3 +35,9 @@
|
||||
parent: horizon-nodejs16-run-test
|
||||
required-projects: *xstatic-projects
|
||||
pre-run: playbooks/npm-test-xstatic-master/pre.yaml
|
||||
|
||||
- job:
|
||||
name: horizon-nodejs18-run-test-xstatic-master
|
||||
parent: horizon-nodejs18-run-test
|
||||
required-projects: *xstatic-projects
|
||||
pre-run: playbooks/npm-test-xstatic-master/pre.yaml
|
||||
|
Loading…
Reference in New Issue
Block a user