Use appropriate Tempest per Manila branch

Fix CI failure by selecting Tempest version based on Manila branch.

Co-Authored-By: Valeriy Ponomaryov <vponomaryov@mirantis.com>

Closes Bug: #1513105

Change-Id: I4e9b9699ac679511bb4174ffa8c880b8489695f4
This commit is contained in:
Ramana Raja 2015-12-23 20:53:37 +05:30
parent c7e09efaa1
commit fbb6ddc7f7
1 changed files with 6 additions and 3 deletions

View File

@ -29,10 +29,13 @@ echo 'ENABLE_ISOLATED_METADATA=True' >> $localrc_path
# Go to Tempest dir and checkout stable commit to avoid possible
# incompatibilities for plugin stored in Manila repo.
TEMPEST_COMMIT="3b1bb9be3265f" # 28 Aug, 2015
cd $BASE/new/tempest
git checkout $TEMPEST_COMMIT
TEMPEST_COMMIT="3b1bb9be3265f" # 28 Aug, 2015 - for stable/liberty only
if [[ -f $BASE/new/manila/contrib/ci/common.sh ]]; then
# M+ branch
source $BASE/new/manila/contrib/ci/common.sh
fi
git checkout ${MANILA_TEMPEST_COMMIT:-$TEMPEST_COMMIT}
# Print current Tempest status
git status