From 9bdb8fc1f59601d63272c7a136c9bde830187d4e Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Sat, 11 Nov 2023 15:44:53 +0900 Subject: [PATCH] Ubuntu: Use packages to install tempest Ubuntu provides tempest plugin packages in universe. We can use these instead of installing tempest from source. This allows us to have better test coverage. Depends-on: https://review.opendev.org/c/openstack/puppet-tempest/+/900696 Change-Id: Iccd10512b83635b25c60c899802d2ed7b97a48a6 --- run_tests.sh | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/run_tests.sh b/run_tests.sh index 7b86de31a..439c00fff 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -30,17 +30,8 @@ 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 # by using the following line: 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} - else - export TEMPEST_FROM_SOURCE=${TEMPEST_FROM_SOURCE:-false} - fi -fi +export TEMPEST_FROM_SOURCE=${TEMPEST_FROM_SOURCE:-true} + # Cirros Image directory export IMG_DIR=${IMG_DIR:-/tmp/openstack/image} export CIRROS_VERSION=${CIRROS_VERSION:-0.6.2}