Revert "Ubuntu: Use packages to install tempest"

This reverts commit 9bdb8fc1f59601d63272c7a136c9bde830187d4e.

Reason for revert:
This change switched package installation source to upstream source
in fact. Some of the plugin tests are still failing during the attempt
to re-swtich the installation source to distro packages so it's
better to keep using source installation for Ubuntu now.

Change-Id: Icffbf68ce37730ead26758f8c48b3d49b3011fb2
This commit is contained in:
Takashi Kajinami 2023-11-17 00:42:01 +09:00
parent 8578f6b20e
commit 85f3a7a520

View File

@ -46,8 +46,17 @@ export PUPPET_ARGS="${PUPPET_ARGS} --detailed-exitcodes --color=false --test --s
# If openstack/tempest is broken on master, we can pin the repository to a specific commit # If openstack/tempest is broken on master, we can pin the repository to a specific commit
# by using the following line: # by using the following line:
export TEMPEST_VERSION=${TEMPEST_VERSION:-'master'} export TEMPEST_VERSION=${TEMPEST_VERSION:-'master'}
# For installing Tempest from RPM keep TEMPEST_FROM_SOURCE to false
# In Ubuntu, Tempest packages are not maintained so installing from source
if is_fedora; then
export TEMPEST_FROM_SOURCE=${TEMPEST_FROM_SOURCE:-false}
else
if [ $(lsb_release --id -s) = "Ubuntu" ]; then
export TEMPEST_FROM_SOURCE=${TEMPEST_FROM_SOURCE:-true} export TEMPEST_FROM_SOURCE=${TEMPEST_FROM_SOURCE:-true}
else
export TEMPEST_FROM_SOURCE=${TEMPEST_FROM_SOURCE:-false}
fi
fi
# Cirros Image directory # Cirros Image directory
export IMG_DIR=${IMG_DIR:-/tmp/openstack/image} export IMG_DIR=${IMG_DIR:-/tmp/openstack/image}
export CIRROS_VERSION=${CIRROS_VERSION:-0.6.2} export CIRROS_VERSION=${CIRROS_VERSION:-0.6.2}