Fix gate: define nodejs10 jobs

Openstack-health uses horizon nodejs template [1] to run
nodejs10- jobs Which is wrong because openstack-health is
not a horizon plugins and above template is only for horizon
plugins to run node-js jobs.
This patch remove horizon nodejs template from .zuul.yaml
and define a new job to run Nodejs10 jobs on gate.

Also drop support of py35.

[1] https://opendev.org/openstack/openstack-health/src/branch/master/.zuul.yaml#L3

Change-Id: Ia222ce7f52ee1cfd575ed5204088f0eee2fe903e
This commit is contained in:
Ansi Jain 2020-09-08 10:11:46 +05:30 committed by Ghanshyam Mann
parent 6506c4d406
commit 08922f91e7
4 changed files with 37 additions and 5 deletions

View File

@ -1,6 +1,33 @@
- job:
name: openstack-health-nodejs10-run-lint
parent: nodejs-run-lint
description: |
Run lint using Node 10.
vars:
node_version: 10
nodeset: ubuntu-focal
pre-run: playbooks/nodejs/pre.yaml
required-projects:
- openstack/openstack-health
- job:
name: openstack-health-nodejs10-run-test-browser
parent: nodejs-run-test-browser
vars:
node_version: 10
nodeset: ubuntu-focal
pre-run: playbooks/nodejs/pre.yaml
required-projects:
- openstack/openstack-health
- project:
templates:
- horizon-nodejs10-jobs
- openstack-python35-jobs
- openstack-python3-ussuri-jobs
- build-openstack-docs-pti
check:
jobs:
- openstack-health-nodejs10-run-lint
- openstack-health-nodejs10-run-test-browser
gate:
jobs:
- openstack-health-nodejs10-run-lint
- openstack-health-nodejs10-run-test-browser

View File

@ -48,7 +48,7 @@
"gulp-protractor": "0.0.11",
"gulp-rename": "^1.2.0",
"gulp-replace": "^0.5.4",
"gulp-sass": "^2.0.4",
"gulp-sass": "^4.0.1",
"gulp-sourcemaps": "^1.3.0",
"gulp-streamify": "0.0.5",
"gulp-uglify": "^1.0.1",

View File

@ -0,0 +1,6 @@
- hosts: all
roles:
# package.json needs to run 'tox' as command, ensure that it's
# installed and can be used globally.
- role: ensure-tox
ensure_global_symlinks: True

View File

@ -6,7 +6,7 @@ description-file =
author = OpenStack
author-email = openstack-discuss@lists.openstack.org
home-page = https://opendev.org/openstack/openstack-health/
python-requires = >=3.5
python-requires = >=3.6
classifier =
Intended Audience :: Information Technology
Intended Audience :: System Administrators
@ -17,7 +17,6 @@ classifier =
Programming Language :: Python :: Implementation :: CPython
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3
Programming Language :: Python :: 3.5
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7