summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavlo Shchelokovskyy <shchelokovskyy@gmail.com>2019-04-25 12:39:36 +0300
committerPavlo Shchelokovskyy <shchelokovskyy@gmail.com>2019-04-25 12:52:09 +0300
commit76d1dee7b80c62172ea3900b75a47edf5b64cab4 (patch)
treee9b7bd0822b76ee6975592f0e3096ef285cfb315
parent8f8a79311d32a451109cebd13e6bf776c7e52cf2 (diff)
downloadoslo-log-stable/pike.tar.gz
Use upper constraints from opendev.orgpike-eolstable/pike
oslo.cache uses a simple curl command in its tox_install.sh to fetch the upper-constraints, and curl does not follow redirects that are now in place due to move to opendev.org. This breaks running tox-based tests w/o overriding the UPPER_CONSTRAINTS_FILE which upstream CI does, for example running tox locally. Change-Id: Ifcb555c8f4ccb813b48c613c79dceb4bf23318eb (cherry picked from commit 6eceb160eaaebbc6ea04768f62876738aa61c2d1)
-rw-r--r--tox.ini2
1 files changed, 1 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 61386e9..d9d1f4d 100644
--- a/tox.ini
+++ b/tox.ini
@@ -7,7 +7,7 @@ setenv =
VIRTUAL_ENV={envdir}
BRANCH_NAME=master
CLIENT_NAME=oslo.log
-install_command = {toxinidir}/tools/tox_install.sh {env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=stable/pike} {opts} {packages}
+install_command = {toxinidir}/tools/tox_install.sh {env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/stable/pike/upper-constraints.txt} {opts} {packages}
deps = -r{toxinidir}/test-requirements.txt
-e.[fixtures]
commands =