summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2022-11-23 22:53:47 +0000
committerGerrit Code Review <review@openstack.org>2022-11-23 22:53:47 +0000
commit2f6b1e906a5852d9c27892ba2e8a614d7fb5f4b9 (patch)
treef5882f3d43895c9bbea227833020b3805fa54c81
parentbee42f9b1fc560371f052f6fcf054e07c2a56627 (diff)
parenteaed7513ced3c10626169ab735e4d2bf3ba6201f (diff)
downloadhorizon-2f6b1e906a5852d9c27892ba2e8a614d7fb5f4b9.tar.gz
Merge "Setup project template for nodejs v18 jobs"
-rw-r--r--.zuul.d/nodejs-jobs.yaml32
-rw-r--r--.zuul.d/project.yaml2
-rw-r--r--.zuul.d/xstatic-master.yaml6
3 files changed, 40 insertions, 0 deletions
diff --git a/.zuul.d/nodejs-jobs.yaml b/.zuul.d/nodejs-jobs.yaml
index 25e7a3f2a..9841454bc 100644
--- a/.zuul.d/nodejs-jobs.yaml
+++ b/.zuul.d/nodejs-jobs.yaml
@@ -13,6 +13,20 @@
- openstack/requirements
- 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: 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: |
@@ -26,6 +40,20 @@
- openstack/horizon
- 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: ubuntu-focal
+ required-projects:
+ - openstack/horizon
+ - openstack/requirements
+
- project-template:
name: horizon-nodejs-jobs
description: |
@@ -39,7 +67,11 @@
jobs:
- horizon-nodejs16-run-lint
- horizon-nodejs16-run-test
+ - horizon-nodejs18-run-lint
+ - horizon-nodejs18-run-test
gate:
jobs:
- horizon-nodejs16-run-lint
- horizon-nodejs16-run-test
+ - horizon-nodejs18-run-lint
+ - horizon-nodejs18-run-test
diff --git a/.zuul.d/project.yaml b/.zuul.d/project.yaml
index 409829018..d5bcedf22 100644
--- a/.zuul.d/project.yaml
+++ b/.zuul.d/project.yaml
@@ -27,7 +27,9 @@
- horizon-integration-tests-xstatic-master
- horizon-tox-py36-xstatic-master
- horizon-nodejs16-run-test-xstatic-master
+ - horizon-nodejs18-run-test-xstatic-master
periodic:
jobs:
- horizon-nodejs16-run-test
+ - horizon-nodejs18-run-test
- horizon-integration-tests
diff --git a/.zuul.d/xstatic-master.yaml b/.zuul.d/xstatic-master.yaml
index b638ab6f0..501343590 100644
--- a/.zuul.d/xstatic-master.yaml
+++ b/.zuul.d/xstatic-master.yaml
@@ -35,3 +35,9 @@
parent: horizon-nodejs16-run-test
required-projects: *xstatic-projects
pre-run: playbooks/npm-test-xstatic-master/pre.yaml
+
+- 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