Use Horizon project template for django jobs
Horizon defined a project template 'horizon-non-primary-django-jobs' for django jobs. This patch use that template to run django jobs here. For information please refer [1] [1] https://review.opendev.org/#/c/681969/ Change-Id: Iabbed6052887ba92c07cb68c2333a197f04348cc
This commit is contained in:
parent
a8f3e52349
commit
aa21130ff9
7
tox.ini
7
tox.ini
|
@ -1,6 +1,6 @@
|
||||||
[tox]
|
[tox]
|
||||||
minversion = 2.5.0
|
minversion = 2.5.0
|
||||||
envlist = py27,py37,pep8,eslint,karma
|
envlist = py27,py37,py3-{dj111,dj22},pep8,eslint,karma
|
||||||
skipsdist = True
|
skipsdist = True
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
|
@ -15,7 +15,10 @@ deps = -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/
|
||||||
-r{toxinidir}/test-requirements.txt
|
-r{toxinidir}/test-requirements.txt
|
||||||
whitelist_externals = npm
|
whitelist_externals = npm
|
||||||
bash
|
bash
|
||||||
commands = python manage.py test octavia_dashboard --settings=octavia_dashboard.tests.settings
|
commands =
|
||||||
|
dj111: pip install django>=1.11,<2
|
||||||
|
dj22: pip install django>=2.2,<2.3
|
||||||
|
python manage.py test octavia_dashboard --settings=octavia_dashboard.tests.settings
|
||||||
|
|
||||||
[testenv:pep8]
|
[testenv:pep8]
|
||||||
basepython = python3
|
basepython = python3
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
- project:
|
- project:
|
||||||
templates:
|
templates:
|
||||||
- check-requirements
|
- check-requirements
|
||||||
|
- horizon-non-primary-django-jobs
|
||||||
- horizon-nodejs10-jobs
|
- horizon-nodejs10-jobs
|
||||||
- openstack-lower-constraints-jobs
|
- openstack-lower-constraints-jobs
|
||||||
- openstack-python-jobs-horizon
|
- openstack-python-jobs-horizon
|
||||||
|
|
Loading…
Reference in New Issue