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: I2a8bc45f838e9dc56ad015c44e034cf5d009d2ab
This commit is contained in:
manchandavishal 2019-10-09 13:54:19 +00:00 committed by Vishal Manchanda
parent d939a7892b
commit 146a150bc1
2 changed files with 6 additions and 2 deletions

View File

@ -1,6 +1,7 @@
- project:
templates:
- check-requirements
- horizon-non-primary-django-jobs
- openstack-lower-constraints-jobs
- openstack-python-jobs
- openstack-python35-jobs

View File

@ -1,5 +1,5 @@
[tox]
envlist = py27,pep8,py35,py36,pylint
envlist = py27,pep8,py35,py36,py3-{dj111,dj22},pylint
minversion = 2.0
skipsdist = True
@ -14,7 +14,10 @@ setenv = VIRTUAL_ENV={envdir}
deps = -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt}
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands = python manage.py test {posargs}
commands =
dj111: pip install django>=1.11,<2
dj22: pip install django>=2.2,<2.3
python manage.py test {posargs}
[testenv:pep8]
basepython = python3