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]
|
||||
minversion = 2.5.0
|
||||
envlist = py27,py37,pep8,eslint,karma
|
||||
envlist = py27,py37,py3-{dj111,dj22},pep8,eslint,karma
|
||||
skipsdist = True
|
||||
|
||||
[testenv]
|
||||
@ -15,7 +15,10 @@ deps = -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/
|
||||
-r{toxinidir}/test-requirements.txt
|
||||
whitelist_externals = npm
|
||||
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]
|
||||
basepython = python3
|
||||
|
@ -1,6 +1,7 @@
|
||||
- project:
|
||||
templates:
|
||||
- check-requirements
|
||||
- horizon-non-primary-django-jobs
|
||||
- horizon-nodejs10-jobs
|
||||
- openstack-lower-constraints-jobs
|
||||
- openstack-python-jobs-horizon
|
||||
|
Loading…
x
Reference in New Issue
Block a user