Merge "Setup project template for nodejs v16 jobs"
This commit is contained in:
commit
2bb253800a
@ -26,6 +26,34 @@
|
|||||||
- openstack/horizon
|
- openstack/horizon
|
||||||
- openstack/requirements
|
- openstack/requirements
|
||||||
|
|
||||||
|
- job:
|
||||||
|
name: horizon-nodejs16-run-lint
|
||||||
|
parent: nodejs-run-lint
|
||||||
|
description: |
|
||||||
|
Run lint using Node 16 for horizon plugins.
|
||||||
|
vars:
|
||||||
|
node_version: 16
|
||||||
|
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
|
||||||
|
description: |
|
||||||
|
Run test using Node 16 for horizon plugins.
|
||||||
|
vars:
|
||||||
|
node_version: 16
|
||||||
|
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:
|
- project-template:
|
||||||
name: horizon-nodejs14-jobs
|
name: horizon-nodejs14-jobs
|
||||||
description: |
|
description: |
|
||||||
@ -49,3 +77,21 @@
|
|||||||
voting: false
|
voting: false
|
||||||
- horizon-nodejs14-run-test:
|
- horizon-nodejs14-run-test:
|
||||||
voting: false
|
voting: false
|
||||||
|
|
||||||
|
- project-template:
|
||||||
|
name: horizon-nodejs-jobs
|
||||||
|
description: |
|
||||||
|
This project template is defined to run lint and test jobs using
|
||||||
|
Node LTS version (i.e. 16 now) for horizon plugins. horizon plugins
|
||||||
|
can use this template to run nodejs jobs. So if we want to update
|
||||||
|
nodejs version in horizon plugins we can update this template to use
|
||||||
|
the job with the latest node version and not many changes are required
|
||||||
|
in the horizon plugins side.
|
||||||
|
check:
|
||||||
|
jobs:
|
||||||
|
- horizon-nodejs16-run-lint
|
||||||
|
- horizon-nodejs16-run-test
|
||||||
|
gate:
|
||||||
|
jobs:
|
||||||
|
- horizon-nodejs16-run-lint
|
||||||
|
- horizon-nodejs16-run-test
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
templates:
|
templates:
|
||||||
- check-requirements
|
- check-requirements
|
||||||
- horizon-cross-jobs
|
- horizon-cross-jobs
|
||||||
- horizon-nodejs14-jobs
|
- horizon-nodejs-jobs
|
||||||
- horizon-non-primary-django-jobs
|
- horizon-non-primary-django-jobs
|
||||||
- openstack-lower-constraints-jobs
|
- openstack-lower-constraints-jobs
|
||||||
- openstack-python3-zed-jobs
|
- openstack-python3-zed-jobs
|
||||||
@ -27,8 +27,8 @@
|
|||||||
jobs:
|
jobs:
|
||||||
- horizon-integration-tests-xstatic-master
|
- horizon-integration-tests-xstatic-master
|
||||||
- horizon-tox-py36-xstatic-master
|
- horizon-tox-py36-xstatic-master
|
||||||
- horizon-nodejs14-run-test-xstatic-master
|
- horizon-nodejs16-run-test-xstatic-master
|
||||||
periodic:
|
periodic:
|
||||||
jobs:
|
jobs:
|
||||||
- horizon-nodejs14-run-test
|
- horizon-nodejs16-run-test
|
||||||
- horizon-integration-tests
|
- horizon-integration-tests
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
required-projects: *xstatic-projects
|
required-projects: *xstatic-projects
|
||||||
|
|
||||||
- job:
|
- job:
|
||||||
name: horizon-nodejs14-run-test-xstatic-master
|
name: horizon-nodejs16-run-test-xstatic-master
|
||||||
parent: horizon-nodejs14-run-test
|
parent: horizon-nodejs16-run-test
|
||||||
required-projects: *xstatic-projects
|
required-projects: *xstatic-projects
|
||||||
pre-run: playbooks/npm-test-xstatic-master/pre.yaml
|
pre-run: playbooks/npm-test-xstatic-master/pre.yaml
|
||||||
|
Loading…
x
Reference in New Issue
Block a user