Drop Nodejs v18 job

As nodejs v20 job is passing in horizon and all horizon
plugins [1]. So we didn't require the nodejs v18 job.

This patch removes the nodejs v18 job definition from
``.zuul.d/nodejs-jobs.yaml`` and other nodejs v18 job
references.

[1] https://review.opendev.org/c/openstack/horizon/+/904934

Change-Id: I3a27799b4864c572a2ef7bf7477ea2b21eb8f395
This commit is contained in:
manchandavishal 2024-01-08 13:51:24 +05:30 committed by Vishal Manchanda
parent 42915b6a78
commit 10ed30ebd8
3 changed files with 1 additions and 41 deletions

View File

@ -1,17 +1,3 @@
- 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: debian-bullseye
pre-run: playbooks/horizon-nodejs/pre.yaml
required-projects:
- openstack/horizon
- openstack/requirements
- job: - job:
name: horizon-nodejs20-run-lint name: horizon-nodejs20-run-lint
parent: nodejs-run-lint parent: nodejs-run-lint
@ -26,20 +12,6 @@
- openstack/horizon - openstack/horizon
- openstack/requirements - 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: debian-bullseye
required-projects:
- openstack/horizon
- openstack/requirements
- job: - job:
name: horizon-nodejs20-run-test name: horizon-nodejs20-run-test
parent: nodejs-run-test-browser parent: nodejs-run-test-browser
@ -58,20 +30,16 @@
name: horizon-nodejs-jobs name: horizon-nodejs-jobs
description: | description: |
This project template is defined to run lint and test jobs using This project template is defined to run lint and test jobs using
Node LTS version (i.e. 18 now) for horizon plugins. horizon plugins Node LTS version (i.e. 20 now) for horizon plugins. horizon plugins
can use this template to run nodejs jobs. So if we want to update 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 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 the job with the latest node version and not many changes are required
in the horizon plugins side. in the horizon plugins side.
check: check:
jobs: jobs:
- horizon-nodejs18-run-lint
- horizon-nodejs18-run-test
- horizon-nodejs20-run-lint - horizon-nodejs20-run-lint
- horizon-nodejs20-run-test - horizon-nodejs20-run-test
gate: gate:
jobs: jobs:
- horizon-nodejs18-run-lint
- horizon-nodejs18-run-test
- horizon-nodejs20-run-lint - horizon-nodejs20-run-lint
- horizon-nodejs20-run-test - horizon-nodejs20-run-test

View File

@ -28,10 +28,8 @@
jobs: jobs:
- horizon-integration-tests-xstatic-master - horizon-integration-tests-xstatic-master
- horizon-tox-py36-xstatic-master - horizon-tox-py36-xstatic-master
- horizon-nodejs18-run-test-xstatic-master
- horizon-nodejs20-run-test-xstatic-master - horizon-nodejs20-run-test-xstatic-master
periodic: periodic:
jobs: jobs:
- horizon-nodejs18-run-test
- horizon-nodejs20-run-test - horizon-nodejs20-run-test
- horizon-integration-tests - horizon-integration-tests

View File

@ -29,12 +29,6 @@
parent: openstack-tox-py39 parent: openstack-tox-py39
required-projects: *xstatic-projects required-projects: *xstatic-projects
- 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
- job: - job:
name: horizon-nodejs20-run-test-xstatic-master name: horizon-nodejs20-run-test-xstatic-master
parent: horizon-nodejs20-run-test parent: horizon-nodejs20-run-test