centos7: stop installing horizon tempest plugin from source

RDO now provides the package: https://review.openstack.org/#/c/349462 so
we can use it like other services.

Change-Id: I51d183467c45f5899c823118048854ba48fb7a93
This commit is contained in:
Emilien Macchi 2016-08-09 10:18:04 -04:00
parent f8aa97df73
commit 4043e9019f

View File

@ -72,8 +72,10 @@ print_header 'Clone Tempest and plugins'
if [ -e /usr/zuul-env/bin/zuul-cloner ] ; then
/usr/zuul-env/bin/zuul-cloner --workspace /tmp --cache-dir /opt/git \
git://git.openstack.org openstack/tempest
/usr/zuul-env/bin/zuul-cloner --workspace /tmp --cache-dir /opt/git \
git://git.openstack.org openstack/tempest-horizon
if uses_debs; then
/usr/zuul-env/bin/zuul-cloner --workspace /tmp --cache-dir /opt/git \
git://git.openstack.org openstack/tempest-horizon
fi
else
# remove existed checkout before clone
$SUDO rm -rf /tmp/openstack/tempest
@ -81,7 +83,9 @@ else
# We're outside the gate, just do a regular git clone
git clone git://git.openstack.org/openstack/tempest /tmp/openstack/tempest
git clone git://git.openstack.org/openstack/tempest-horizon /tmp/openstack/tempest-horizon
if uses_debs; then
git clone git://git.openstack.org/openstack/tempest-horizon /tmp/openstack/tempest-horizon
fi
fi
install_puppet
@ -165,8 +169,10 @@ $SUDO pip install tempest-lib
# We need latest testrepository to run stackviz correctly
$SUDO pip install -U testrepository
# TODO(emilien): install from source now until packaged
cd /tmp/openstack/tempest-horizon; $SUDO python setup.py install
# install from source now on ubuntu until packaged
if uses_debs; then
cd /tmp/openstack/tempest-horizon; $SUDO python setup.py install
fi
set +e
# Select what to test: