Merge "Setup project template for nodejs v18 jobs"

This commit is contained in:
Zuul 2022-11-23 22:53:47 +00:00 committed by Gerrit Code Review
commit 2f6b1e906a
3 changed files with 40 additions and 0 deletions

View File

@ -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

View File

@ -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

View File

@ -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