Switch ubuntu to use python3 packages for tempest deps
Use the package version of the dependencies on Ubuntu rather than try to install the dependencies from source using pip. Change-Id: Ifefa99d761eb9157835fc95c6a9b93f9bdb42359
This commit is contained in:
parent
12d1bd446b
commit
a2cf69ecd9
@ -257,15 +257,13 @@ print_header 'Prepare Tempest'
|
|||||||
$SUDO touch /tmp/openstack/tempest/test-whitelist.txt /tmp/openstack/tempest/test-blacklist.txt
|
$SUDO touch /tmp/openstack/tempest/test-whitelist.txt /tmp/openstack/tempest/test-blacklist.txt
|
||||||
$SUDO chown -R "$(id -u):$(id -g)" /tmp/openstack/tempest/
|
$SUDO chown -R "$(id -u):$(id -g)" /tmp/openstack/tempest/
|
||||||
|
|
||||||
# install from source now on ubuntu until packaged
|
|
||||||
if uses_debs; then
|
if uses_debs; then
|
||||||
cd /tmp/openstack/tempest-horizon;
|
cd /tmp/openstack/tempest-horizon;
|
||||||
|
pkglist="tempest python3-stestr python3-os-testr python3-tempest"
|
||||||
if [ $(lsb_release --id -s) = "Debian" ] ; then
|
if [ $(lsb_release --id -s) = "Debian" ] ; then
|
||||||
$SUDO apt-get install -y tempest python3-stestr python3-os-testr python3-tempest python3-tempest-horizon
|
pkglist="${pkglist} python3-tempest-horizon"
|
||||||
else
|
|
||||||
$SUDO python setup.py install
|
|
||||||
$SUDO pip install -U stestr os-testr
|
|
||||||
fi
|
fi
|
||||||
|
$SUDO apt-get install -y $pkglist
|
||||||
fi
|
fi
|
||||||
|
|
||||||
set +e
|
set +e
|
||||||
|
Loading…
x
Reference in New Issue
Block a user