Only install tempest if it's going to be used

There's no point spending time installing tempest if we're not
running the tests in the job.

Change-Id: Icd80ad7e13f1b5bc342dfae4ff6fa24e609162ff
This commit is contained in:
Ben Nemec 2017-01-19 18:12:30 +00:00 committed by Juan Antonio Osorio Robles
parent b4a0d7885b
commit 0d3179135f
1 changed files with 3 additions and 0 deletions

View File

@ -104,6 +104,9 @@ fi
if [ $UNDERCLOUD_VALIDATIONS == 0 ] ; then
echo 'enable_validations = False' >> ~/undercloud.conf
fi
if [ $RUN_TEMPEST_TESTS != 1 ] ; then
echo 'enable_tempest = False' >> ~/undercloud.conf
fi
if [ $UNDERCLOUD_HEAT_CONVERGENCE == 1 ] ; then
cat <<EOF >>$HOME/undercloud-hieradata-override.yaml