Add in repo zuul job definition
Add .zuul.yaml file to make sure more flexible zuul job controll by heat-dashboard team members, apart from project-config repo. We will keep basic & common jobs in project-config repo, also heat-dashboard repo will have specific jobs like as multi django ver jobs. Change-Id: Ia9084b10bf4bb1941e0eb21b51798c2090b459cc
This commit is contained in:
parent
2d98c50fee
commit
a2a56c7062
55
.zuul.yaml
Normal file
55
.zuul.yaml
Normal file
@ -0,0 +1,55 @@
|
|||||||
|
- project:
|
||||||
|
name: openstack/heat-dashboard
|
||||||
|
check:
|
||||||
|
jobs:
|
||||||
|
- legacy-horizon-tox-py27dj18:
|
||||||
|
irrelevant-files:
|
||||||
|
- ^.*\.rst$
|
||||||
|
- ^doc/.*$
|
||||||
|
- ^heat_dashboard/locale/.*$
|
||||||
|
- ^releasenotes/.*$
|
||||||
|
required-projects:
|
||||||
|
- openstack/horizon
|
||||||
|
- legacy-horizon-tox-py27dj19:
|
||||||
|
irrelevant-files:
|
||||||
|
- ^.*\.rst$
|
||||||
|
- ^doc/.*$
|
||||||
|
- ^heat_dashboard/locale/.*$
|
||||||
|
- ^releasenotes/.*$
|
||||||
|
required-projects:
|
||||||
|
- openstack/horizon
|
||||||
|
- legacy-horizon-tox-py27dj110:
|
||||||
|
irrelevant-files:
|
||||||
|
- ^.*\.rst$
|
||||||
|
- ^doc/.*$
|
||||||
|
- ^heat_dashboard/locale/.*$
|
||||||
|
- ^releasenotes/.*$
|
||||||
|
required-projects:
|
||||||
|
- openstack/horizon
|
||||||
|
gate:
|
||||||
|
queue: heat-dashboard
|
||||||
|
jobs:
|
||||||
|
- legacy-horizon-tox-py27dj18:
|
||||||
|
irrelevant-files:
|
||||||
|
- ^.*\.rst$
|
||||||
|
- ^doc/.*$
|
||||||
|
- ^heat_dashboard/locale/.*$
|
||||||
|
- ^releasenotes/.*$
|
||||||
|
required-projects:
|
||||||
|
- openstack/horizon
|
||||||
|
- legacy-horizon-tox-py27dj19:
|
||||||
|
irrelevant-files:
|
||||||
|
- ^.*\.rst$
|
||||||
|
- ^doc/.*$
|
||||||
|
- ^heat_dashboard/locale/.*$
|
||||||
|
- ^releasenotes/.*$
|
||||||
|
required-projects:
|
||||||
|
- openstack/horizon
|
||||||
|
- legacy-horizon-tox-py27dj110:
|
||||||
|
irrelevant-files:
|
||||||
|
- ^.*\.rst$
|
||||||
|
- ^doc/.*$
|
||||||
|
- ^heat_dashboard/locale/.*$
|
||||||
|
- ^releasenotes/.*$
|
||||||
|
required-projects:
|
||||||
|
- openstack/horizon
|
@ -25,8 +25,8 @@
|
|||||||
"eslint-plugin-jasmine": "2.9.1"
|
"eslint-plugin-jasmine": "2.9.1"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "karma start karma.conf.js --single-run",
|
"test": "if [ -z $CHROME_BIN ];then export CHROME_BIN=/usr/bin/chromium-browser;fi && karma start karma.conf.js --single-run",
|
||||||
"eslint": "eslint --no-color heat_dashboard/static/dashboard/project/heat_dashboard/template_generator/js/"
|
"lint": "eslint --no-color heat_dashboard/static/dashboard/project/heat_dashboard/template_generator/js/"
|
||||||
},
|
},
|
||||||
"author": "",
|
"author": "",
|
||||||
"license": "Apache-2.0"
|
"license": "Apache-2.0"
|
||||||
|
9
tox.ini
9
tox.ini
@ -106,6 +106,15 @@ exclude = .venv,.git,.tox,dist,*lib/python*,*egg,build,panel_template,dash_templ
|
|||||||
max-complexity = 20
|
max-complexity = 20
|
||||||
import-order-style = pep8
|
import-order-style = pep8
|
||||||
|
|
||||||
|
[testenv:npm]
|
||||||
|
passenv =
|
||||||
|
HOME
|
||||||
|
DISPLAY
|
||||||
|
commands =
|
||||||
|
nodeenv -p
|
||||||
|
npm install
|
||||||
|
npm run {posargs:test}
|
||||||
|
|
||||||
[doc8]
|
[doc8]
|
||||||
# File extensions to check
|
# File extensions to check
|
||||||
extensions = .rst, .yaml
|
extensions = .rst, .yaml
|
||||||
|
Loading…
Reference in New Issue
Block a user