Browse Source

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
changes/47/687547/1
manchandavishal 2 years ago
parent
commit
aa21130ff9
2 changed files with 6 additions and 2 deletions
  1. +5
    -2
      tox.ini
  2. +1
    -0
      zuul.d/projects.yaml

+ 5
- 2
tox.ini View File

@ -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
- 0
zuul.d/projects.yaml View File

@ -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…
Cancel
Save