Use curl to download u-c
In functional tests we don't ensure that wget exists. Also for Ubuntu we ensure that curl is present only. So let's replace wget command with curl and be consistent across repos. Change-Id: If9106bd0a481079b9e676c5547e244a11a35fb73
This commit is contained in:
parent
747c5f6554
commit
c2c71cac9f
@ -50,7 +50,7 @@ case "${ID,,}" in
|
|||||||
pkg_list="python38 python38-devel redhat-lsb-core"
|
pkg_list="python38 python38-devel redhat-lsb-core"
|
||||||
;;
|
;;
|
||||||
9)
|
9)
|
||||||
pkg_list="python3 python3-devel"
|
pkg_list="python3 python3-devel curl"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
|
@ -181,7 +181,7 @@ REQS_REPO_HOME="${TESTING_HOME}/src/opendev.org/openstack/requirements"
|
|||||||
if [[ -d "${REQS_REPO_HOME}" ]]; then
|
if [[ -d "${REQS_REPO_HOME}" ]]; then
|
||||||
cp "${REQS_REPO_HOME}/upper-constraints.txt" /tmp/upper-constraints.txt
|
cp "${REQS_REPO_HOME}/upper-constraints.txt" /tmp/upper-constraints.txt
|
||||||
else
|
else
|
||||||
wget "${TOX_CONSTRAINTS_FILE:-https://opendev.org/openstack/requirements/raw/${SERVICES_BRANCH}/upper-constraints.txt}" -O /tmp/upper-constraints.txt
|
curl -L "${TOX_CONSTRAINTS_FILE:-https://opendev.org/openstack/requirements/raw/${SERVICES_BRANCH}/upper-constraints.txt}" -o /tmp/upper-constraints.txt
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Filter out pip/wheel from OpenStack upper constraints
|
# Filter out pip/wheel from OpenStack upper constraints
|
||||||
|
Loading…
Reference in New Issue
Block a user