install tempest-horizon from source

Tempest test for Horizon moved from Tempest to a dedicated plugin,
called tempest-horizon. The plugin is currently not packaged in RDO or
UCA but will be soon.
Until this time, deploy the plugin from source.

Change-Id: I509c044a874b77ae0f26d6c7938869fb0c492d87
This commit is contained in:
Emilien Macchi 2016-07-12 09:52:59 -04:00
parent 27eafb4dca
commit f902383f2d
2 changed files with 12 additions and 2 deletions

View File

@ -19,11 +19,14 @@ case $::osfamily {
$ipv6 = false
# mistral is not packaged on Ubuntu Trusty
$mistral_enabled = false
# We're investigating issues with Horizon setup on Ubuntu Xenial
$horizon_enabled = false
}
'RedHat': {
$ipv6 = true
# enable when we figure why mistral tempest tests are so unstable
$mistral_enabled = false
$horizon_enabled = true
}
default: {
fail("Unsupported osfamily (${::osfamily})")
@ -72,6 +75,6 @@ class { '::openstack_integration::tempest':
trove => $trove_enabled,
sahara => true,
mistral => $mistral_enabled,
horizon => true,
horizon => $horizon_enabled,
heat => true,
}

View File

@ -59,7 +59,7 @@ if [ $(id -u) != 0 ]; then
export SUDO='sudo -E'
fi
print_header 'Clone Tempest'
print_header 'Clone Tempest and plugins'
# TODO(pabelanger): Move this into tools/install_tempest.sh and add logic so we
# can clone tempest outside of the gate. Also, tempest should be sandboxed into
# the local directory but works needs to be added into puppet to properly find
@ -67,12 +67,16 @@ print_header 'Clone Tempest'
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
else
# remove existed checkout before clone
$SUDO rm -rf /tmp/openstack/tempest
$SUDO rm -rf /tmp/openstack/tempest-horizon
# 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
fi
install_puppet
@ -153,6 +157,9 @@ $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
set +e
# Select what to test:
# Smoke suite