Browse Source

Merge "Setup project-template for nodejs14 jobs"

changes/81/789081/1
Zuul 2 weeks ago
committed by Gerrit Code Review
parent
commit
a9d83dda1c
3 changed files with 60 additions and 0 deletions
  1. +51
    -0
      .zuul.d/nodejs-jobs.yaml
  2. +3
    -0
      .zuul.d/project.yaml
  3. +6
    -0
      .zuul.d/xstatic-master.yaml

+ 51
- 0
.zuul.d/nodejs-jobs.yaml 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

+ 3
- 0
.zuul.d/project.yaml 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

+ 6
- 0
.zuul.d/xstatic-master.yaml 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

Loading…
Cancel
Save