Fix horizon install for tox

Install horizon from git in Openstack CI.
Update the tox.ini for this.

Change-Id: I5e6cedf27f06692f7a6c7b75e21b7cff22e061f0
Signed-off-by: Charles Short <zulcss@gmail.com>
This commit is contained in:
Charles Short 2018-04-08 12:14:31 -04:00 committed by Graham Hayes
parent b7d70684e2
commit 5055fd3d25
2 changed files with 6 additions and 2 deletions

View File

@ -24,3 +24,7 @@ nose-exclude>=0.5.0 # LGPL
# Horizon requirements
Django<2.0,>=1.11 # BSD
django-compressor>=2.0 # MIT
# OpenStack CI will install the following projects from git
# if they are in the required-projects list for a job:
horizon>=13.0.0 # Apache-2.0

View File

@ -5,7 +5,6 @@ skipsdist = True
[testenv]
usedevelop = True
install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=master} {opts} {packages}
setenv = VIRTUAL_ENV={envdir}
NOSE_WITH_OPENSTACK=1
NOSE_OPENSTACK_COLOR=1
@ -15,7 +14,8 @@ setenv = VIRTUAL_ENV={envdir}
PYTHONDONTWRITEBYTECODE=1
DJANGO_SETTINGS_MODULE=designatedashboard.settings
whitelist_externals = find
deps = -r{toxinidir}/requirements.txt
deps = -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=master}
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands =