Switch to new javascript jobs

Change I8013228ca05607a69f390a9bb75991fc6543f865 introduces new
javascript jobs that better handle npm or yarn, update the jobs here to
use it.

Change the job names to start with horizon to follow the Zuul job naming
policy.

Change-Id: I86a56afcd2cde3a088abcc66c0294424cd03546f
(cherry picked from commit a8ff4c3761)
This commit is contained in:
Andreas Jaeger 2020-05-12 16:07:17 +02:00 committed by Akihiro Motoki
parent 6b32ff44ea
commit 3d7ae51560
1 changed files with 20 additions and 20 deletions

View File

@ -95,8 +95,8 @@
- ^tools/.*$ - ^tools/.*$
- job: - job:
name: nodejs4-npm-run-lint name: horizon-nodejs4-run-lint
parent: nodejs-npm-run-lint parent: nodejs-run-lint
description: | description: |
Run lint using Node 4 for horizon plugins. Run lint using Node 4 for horizon plugins.
vars: vars:
@ -106,8 +106,8 @@
openstack/horizon openstack/horizon
- job: - job:
name: nodejs4-npm-run-test name: horizon-nodejs4-run-test
parent: nodejs-npm-run-test parent: nodejs-run-test-browser
description: | description: |
Run test using Node 4 for horizon plugins. Run test using Node 4 for horizon plugins.
vars: vars:
@ -117,8 +117,8 @@
openstack/horizon openstack/horizon
- job: - job:
name: nodejs10-npm-run-lint name: horizon-nodejs10-run-lint
parent: nodejs-npm-run-lint parent: nodejs-run-lint
description: | description: |
Run lint using Node 10 for horizon plugins. Run lint using Node 10 for horizon plugins.
vars: vars:
@ -128,8 +128,8 @@
openstack/horizon openstack/horizon
- job: - job:
name: nodejs10-npm-run-test name: horizon-nodejs10-run-test
parent: nodejs-npm-run-test parent: nodejs-run-test-browser
description: | description: |
Run test using Node 10 for horizon plugins. Run test using Node 10 for horizon plugins.
vars: vars:
@ -144,12 +144,12 @@
Run lint and test jobs using Node 4 for horizon plugins. Run lint and test jobs using Node 4 for horizon plugins.
check: check:
jobs: jobs:
- nodejs4-npm-run-lint - horizon-nodejs4-run-lint
- nodejs4-npm-run-test - horizon-nodejs4-run-test
gate: gate:
jobs: jobs:
- nodejs4-npm-run-lint - horizon-nodejs4-run-lint
- nodejs4-npm-run-test - horizon-nodejs4-run-test
- project-template: - project-template:
name: horizon-nodejs4-jobs-nonvoting name: horizon-nodejs4-jobs-nonvoting
@ -157,9 +157,9 @@
Run lint and test jobs using Node 4 for horizon plugins. Run lint and test jobs using Node 4 for horizon plugins.
check: check:
jobs: jobs:
- nodejs4-npm-run-lint: - horizon-nodejs4-run-lint:
voting: false voting: false
- nodejs4-npm-run-test: - horizon-nodejs4-run-test:
voting: false voting: false
- project-template: - project-template:
@ -168,12 +168,12 @@
Run lint and test jobs using Node 10 (LTS) for horizon plugins. Run lint and test jobs using Node 10 (LTS) for horizon plugins.
check: check:
jobs: jobs:
- nodejs10-npm-run-lint - horizon-nodejs10-run-lint
- nodejs10-npm-run-test - horizon-nodejs10-run-test
gate: gate:
jobs: jobs:
- nodejs10-npm-run-lint - horizon-nodejs10-run-lint
- nodejs10-npm-run-test - horizon-nodejs10-run-test
- project-template: - project-template:
name: horizon-nodejs10-jobs-nonvoting name: horizon-nodejs10-jobs-nonvoting
@ -181,9 +181,9 @@
Run lint and test jobs using Node 10 (LTS) for horizon plugins. Run lint and test jobs using Node 10 (LTS) for horizon plugins.
check: check:
jobs: jobs:
- nodejs10-npm-run-lint: - horizon-nodejs10-run-lint:
voting: false voting: false
- nodejs10-npm-run-test: - horizon-nodejs10-run-test:
voting: false voting: false
- project: - project: