Merge "Setup project template for nodejs v20 jobs"

This commit is contained in:
Zuul 2023-11-22 17:15:24 +00:00 committed by Gerrit Code Review
commit 12644333d5
3 changed files with 40 additions and 0 deletions

View File

@ -12,6 +12,20 @@
- openstack/horizon
- openstack/requirements
- job:
name: horizon-nodejs20-run-lint
parent: nodejs-run-lint
description: |
Run lint using Node 20 for horizon plugins.
vars:
node_version: 20
tox_constraints_file: "{{ ansible_user_dir }}/{{ zuul.projects['opendev.org/openstack/requirements'].src_dir }}/upper-constraints.txt"
nodeset: debian-bullseye
pre-run: playbooks/horizon-nodejs/pre.yaml
required-projects:
- openstack/horizon
- openstack/requirements
- job:
name: horizon-nodejs18-run-test
parent: nodejs-run-test-browser
@ -26,6 +40,20 @@
- openstack/horizon
- openstack/requirements
- job:
name: horizon-nodejs20-run-test
parent: nodejs-run-test-browser
description: |
Run test using Node 20 for horizon plugins.
vars:
node_version: 20
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: debian-bullseye
required-projects:
- openstack/horizon
- openstack/requirements
- project-template:
name: horizon-nodejs-jobs
description: |
@ -39,7 +67,11 @@
jobs:
- horizon-nodejs18-run-lint
- horizon-nodejs18-run-test
- horizon-nodejs20-run-lint
- horizon-nodejs20-run-test
gate:
jobs:
- horizon-nodejs18-run-lint
- horizon-nodejs18-run-test
- horizon-nodejs20-run-lint
- horizon-nodejs20-run-test

View File

@ -29,7 +29,9 @@
- horizon-integration-tests-xstatic-master
- horizon-tox-py36-xstatic-master
- horizon-nodejs18-run-test-xstatic-master
- horizon-nodejs20-run-test-xstatic-master
periodic:
jobs:
- horizon-nodejs18-run-test
- horizon-nodejs20-run-test
- horizon-integration-tests

View File

@ -34,3 +34,9 @@
parent: horizon-nodejs18-run-test
required-projects: *xstatic-projects
pre-run: playbooks/npm-test-xstatic-master/pre.yaml
- job:
name: horizon-nodejs20-run-test-xstatic-master
parent: horizon-nodejs20-run-test
required-projects: *xstatic-projects
pre-run: playbooks/npm-test-xstatic-master/pre.yaml