Merge "Setup project-template for nodejs14 jobs"

This commit is contained in:
Zuul 2021-04-29 07:19:19 +00:00 committed by Gerrit Code Review
commit a9d83dda1c
3 changed files with 60 additions and 0 deletions

View File

@ -25,6 +25,33 @@
required-projects:
- openstack/horizon
- openstack/requirements
- job:
name: horizon-nodejs14-run-lint
parent: nodejs-run-lint
description: |
Run lint using Node 14 for horizon plugins.
vars:
node_version: 14
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-nodejs14-run-test
parent: nodejs-run-test-browser
description: |
Run test using Node 14 for horizon plugins.
vars:
node_version: 14
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-nodejs10-jobs
@ -49,3 +76,27 @@
voting: false
- horizon-nodejs10-run-test:
voting: false
- project-template:
name: horizon-nodejs14-jobs
description: |
Run lint and test jobs using Node 14 (LTS) for horizon plugins.
check:
jobs:
- horizon-nodejs14-run-lint
- horizon-nodejs14-run-test
gate:
jobs:
- horizon-nodejs14-run-lint
- horizon-nodejs14-run-test
- project-template:
name: horizon-nodejs14-jobs-nonvoting
description: |
Run lint and test jobs using Node 14 (LTS) for horizon plugins.
check:
jobs:
- horizon-nodejs14-run-lint:
voting: false
- horizon-nodejs14-run-test:
voting: false

View File

@ -3,6 +3,7 @@
- check-requirements
- horizon-cross-jobs
- horizon-nodejs10-jobs
- horizon-nodejs14-jobs
- horizon-non-primary-django-jobs
- openstack-lower-constraints-jobs
- openstack-python3-xena-jobs
@ -28,7 +29,9 @@
- horizon-integration-tests-xstatic-master
- horizon-tox-py36-xstatic-master
- horizon-nodejs10-run-test-xstatic-master
- horizon-nodejs14-run-test-xstatic-master
periodic:
jobs:
- horizon-nodejs10-run-test
- horizon-nodejs14-run-test
- horizon-integration-tests

View File

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