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:
manchandavishal 2019-10-09 12:56:51 +00:00
parent a8f3e52349
commit aa21130ff9
2 changed files with 6 additions and 2 deletions

View File

@ -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

View File

@ -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