Do not install tempest-horizon from git repo

... because it was already retired.

Change-Id: Ifdd60cf07bd99398108a734dae0e05da82eb4551
Related-Bug: #1915832
This commit is contained in:
Takashi Kajinami 2021-02-17 00:15:22 +09:00
parent 30a8ae7e48
commit 804acd3c3a

View File

@ -103,17 +103,6 @@ if [[ "${ZUUL_PROJECT}" = "openstack/tempest" ]]; then
fi
if [ -d /home/zuul/src/opendev.org ]; then
# TODO(tkajinam): This should be fixed since the tempest-horizon repo
# has been retired.
# For ubuntu we always need to deploy tempest-horizon from source
if uses_debs; then
if [ -d /home/zuul/src/opendev.org/openstack/tempest-horizon ]; then
[ ! -d /tmp/openstack ] && mkdir -p /tmp/openstack
cp -R /home/zuul/src/opendev.org/openstack/tempest-horizon /tmp/openstack/tempest-horizon
else
git clone https://opendev.org/openstack/tempest-horizon /tmp/openstack/tempest-horizon
fi
fi
if [ "${TEMPEST_FROM_SOURCE}" = true ]; then
if [ -d /home/zuul/src/opendev.org/openstack/tempest ]; then
[ ! -d /tmp/openstack ] && mkdir -p /tmp/openstack
@ -130,13 +119,6 @@ if [ -d /home/zuul/src/opendev.org ]; then
fi
fi
else
# TODO(tkajinam): This should be fixed since the tempest-horizon repo
# has been retired.
# For ubuntu we always need to deploy tempest-horizon from source
if uses_debs; then
$SUDO rm -rf /tmp/openstack/tempest-horizon
git clone https://opendev.org/openstack/tempest-horizon /tmp/openstack/tempest-horizon
fi
if [ "${TEMPEST_FROM_SOURCE}" = true ]; then
$SUDO rm -rf /tmp/openstack/tempest
git clone https://opendev.org/openstack/tempest /tmp/openstack/tempest
@ -264,11 +246,7 @@ $SUDO touch /tmp/openstack/tempest/test-whitelist.txt /tmp/openstack/tempest/tes
$SUDO chown -R "$(id -u):$(id -g)" /tmp/openstack/tempest/
if uses_debs; then
cd /tmp/openstack/tempest-horizon;
pkglist="tempest python3-stestr python3-os-testr python3-tempest"
if [ $(lsb_release --id -s) = "Debian" ] ; then
pkglist="${pkglist} python3-tempest-horizon"
fi
$SUDO apt-get install -y $pkglist
fi