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: I186bb5edfaece73222534fbede928f0903595b04
This commit is contained in:
parent
226f2d8bd5
commit
1b1ee9e7e2
|
@ -1,12 +1,7 @@
|
||||||
- project:
|
- project:
|
||||||
templates:
|
templates:
|
||||||
- check-requirements
|
- check-requirements
|
||||||
|
- horizon-non-primary-django-jobs
|
||||||
- openstack-lower-constraints-jobs-horizon
|
- openstack-lower-constraints-jobs-horizon
|
||||||
- openstack-python3-ussuri-jobs-horizon
|
- openstack-python3-ussuri-jobs-horizon
|
||||||
- publish-openstack-docs-pti
|
- publish-openstack-docs-pti
|
||||||
check:
|
|
||||||
jobs:
|
|
||||||
- horizon-openstack-tox-python3-django111
|
|
||||||
gate:
|
|
||||||
jobs:
|
|
||||||
- horizon-openstack-tox-python3-django111
|
|
||||||
|
|
9
tox.ini
9
tox.ini
|
@ -1,5 +1,5 @@
|
||||||
[tox]
|
[tox]
|
||||||
envlist = py37,pep8,docs
|
envlist = py37,py3-{dj111,dj22},pep8,docs
|
||||||
minversion = 3.1.1
|
minversion = 3.1.1
|
||||||
skipsdist = True
|
skipsdist = True
|
||||||
ignore_basepython_conflict = True
|
ignore_basepython_conflict = True
|
||||||
|
@ -16,6 +16,8 @@ deps =
|
||||||
https://tarballs.openstack.org/horizon/horizon-master.tar.gz
|
https://tarballs.openstack.org/horizon/horizon-master.tar.gz
|
||||||
https://tarballs.openstack.org/python-tackerclient/python-tackerclient-master.tar.gz
|
https://tarballs.openstack.org/python-tackerclient/python-tackerclient-master.tar.gz
|
||||||
commands =
|
commands =
|
||||||
|
dj111: pip install django>=1.11,<2
|
||||||
|
dj22: pip install django>=2.2,<2.3
|
||||||
{envpython} {toxinidir}/manage.py test tacker_horizon --settings=tacker_horizon.test.settings {posargs}
|
{envpython} {toxinidir}/manage.py test tacker_horizon --settings=tacker_horizon.test.settings {posargs}
|
||||||
|
|
||||||
[testenv:py36]
|
[testenv:py36]
|
||||||
|
@ -70,8 +72,3 @@ deps =
|
||||||
-r{toxinidir}/test-requirements.txt
|
-r{toxinidir}/test-requirements.txt
|
||||||
-r{toxinidir}/requirements.txt
|
-r{toxinidir}/requirements.txt
|
||||||
|
|
||||||
[testenv:py3-dj111]
|
|
||||||
basepython = python3
|
|
||||||
commands =
|
|
||||||
pip install django>=1.11,<2
|
|
||||||
{[testenv]commands}
|
|
||||||
|
|
Loading…
Reference in New Issue