Update to use Tempest tag=3 for refstack-client.

Update so that refstack-client will only be built with a specific
Tempest tag release.  Currently, tag 3 is used.

Change-Id: Ibe03adf3c393892f91d50106929360fdda85c0cc
This commit is contained in:
cdiep 2015-01-30 14:24:05 -08:00
parent 8aa2d8062e
commit 08e6001c55

View File

@ -67,7 +67,11 @@ if [ -d "${WORKDIR}/.tempest" ]; then
fi
git clone https://github.com/openstack/tempest.git ${WORKDIR}/.tempest
cd ${WORKDIR}/.tempest
TAG="$(git describe --abbrev=0 --tags)"
#TAG="$(git describe --abbrev=0 --tags)"
#Default to pull tag 3 until the next OpenStack release.
TAG=3
while getopts t:h FLAG; do
case ${FLAG} in
t)
@ -140,4 +144,4 @@ cd ..
rm -rf virtualenv-${VENV_VERSION}
rm virtualenv-${VENV_VERSION}.tar.gz
${WORKDIR}/.venv/bin/pip install -r ${WORKDIR}/requirements.txt
${WORKDIR}/.tempest/.venv/bin/pip install -r ${WORKDIR}/.tempest/requirements.txt
${WORKDIR}/.tempest/.venv/bin/pip install -r ${WORKDIR}/.tempest/requirements.txt