summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.com>2016-04-17 22:01:59 +0200
committerBrant Knudson <bknudson@us.ibm.com>2016-05-24 21:58:50 +0000
commit6bf21f3660658c8916365aa51bfd6fc61fbd7121 (patch)
tree860ca21e31d960d5ca95f5d3f77c9d42383c8c7c
parent26240963712541d215d414fa71596cccc60dd7ce (diff)
downloadkeystone-6bf21f3660658c8916365aa51bfd6fc61fbd7121.tar.gz
Fix post jobs8.1.2
The tox venv environment is run during post jobs and thus cannot use constraints. See: http://logs.openstack.org/db/db7bdf9aa0cb0ba5fbae5ae07ecdb9f024213deb/post/keystone-docs/92d1e87/ http://logs.openstack.org/db/db7bdf9aa0cb0ba5fbae5ae07ecdb9f024213deb/post/keystone-branch-tarball/eb685ad/ We run for docs jobs: "tox -e venv python setup.py build_sphinx" thus, the docs environment is not used. For branch tarball, the infra scripts use: "tox -e venv python setup.py sdist" And infra does not setup constraints for post jobs currently as this is not working with current tools Fix tox.ini for this Change-Id: I048368981e4be739c66073fdd9bc8a9663498a80 (cherry picked from commit 2535f22e6123bd8b7ae1304b31f6748e631d8e61)
-rw-r--r--tox.ini4
1 files changed, 4 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index 8e5e2f0fb..18f8ae5cf 100644
--- a/tox.ini
+++ b/tox.ini
@@ -74,6 +74,10 @@ commands = python setup.py testr --coverage --testr-args='{posargs}'
install_command = pip install -U --force-reinstall {opts} {packages}
[testenv:venv]
+# NOTE(jaegerandi): this target does not use constraints because
+# upstream infra does not yet support it. Once that's fixed, we can
+# drop the install_command.
+install_command = pip install -U --force-reinstall {opts} {packages}
commands = {posargs}
[testenv:debug]