summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.com>2018-03-23 08:58:03 +0100
committerAndreas Jaeger <aj@suse.com>2018-03-23 08:58:03 +0100
commite2d1f48fd80345e67045d569e685d40b68ea4d39 (patch)
treeafcac19e2ea8bcc9a34f307665f62c276a0ee012
parent33ce35e05ce9210e9a77842cf53ff69c3ed00d48 (diff)
Install horizon from git
Install horizon in OpenStack CI from git instead of using tarball, this allows depends-on to work. Update tox.ini and requirements.txt for proper setup. Change-Id: I473a7d378926f9583d695d78da661f58f03ce30e
Notes
Notes (review): Code-Review+2: Vitaliy Nogin <vnogin@mirantis.com> Workflow+1: Saad Zaher <eng.szaher@gmail.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Wed, 28 Mar 2018 09:41:13 +0000 Reviewed-on: https://review.openstack.org/555692 Project: openstack/freezer-web-ui Branch: refs/heads/master
-rw-r--r--requirements.txt4
-rw-r--r--tox.ini5
2 files changed, 6 insertions, 3 deletions
diff --git a/requirements.txt b/requirements.txt
index f2d2855..9bec19d 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -3,3 +3,7 @@
3# process, which may cause wedges in the gate later. 3# process, which may cause wedges in the gate later.
4Django<2.0,>=1.8 # BSD 4Django<2.0,>=1.8 # BSD
5python-freezerclient>=1.3.0 # Apache-2.0 5python-freezerclient>=1.3.0 # Apache-2.0
6
7# OpenStack CI will install the following projects from git
8# if they are in the required-projects list for a job:
9horizon>=13.0.0 # Apache-2.0
diff --git a/tox.ini b/tox.ini
index 1674d93..9a2de60 100644
--- a/tox.ini
+++ b/tox.ini
@@ -11,10 +11,9 @@ setenv = VIRTUAL_ENV={envdir}
11 NOSE_OPENSTACK_RED=0.05 11 NOSE_OPENSTACK_RED=0.05
12 NOSE_OPENSTACK_YELLOW=0.025 12 NOSE_OPENSTACK_YELLOW=0.025
13 NOSE_OPENSTACK_SHOW_ELAPSED=1 13 NOSE_OPENSTACK_SHOW_ELAPSED=1
14install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} -U {opts} {packages} 14deps = -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt}
15deps = -r{toxinidir}/requirements.txt 15 -r{toxinidir}/requirements.txt
16 -r{toxinidir}/test-requirements.txt 16 -r{toxinidir}/test-requirements.txt
17 http://tarballs.openstack.org/horizon/horizon-master.tar.gz
18commands = python manage.py test {posargs} 17commands = python manage.py test {posargs}
19 18
20[testenv:pep8] 19[testenv:pep8]