Make version of tempest configurable
This patch makes tempest version configurable so we can override it in CI for DLRN promotion jobs for stable branches. There have been some backwards incompatible changes in tempest and ceilometer ( https://review.openstack.org/#/c/395506/ ) not tagged yet in stable/newton. In order to get p-o-i pass with this commits we need to use an updated version of tempest. Change-Id: Ifb37a5a3a809c8a94d055d9cdc2b880e1ec9a115
This commit is contained in:
parent
e921a3a01a
commit
e7bd64b108
@ -24,6 +24,7 @@ export HIERA_CONFIG=${HIERA_CONFIG:-${SCRIPT_DIR}/hiera/hiera.yaml}
|
||||
export MANAGE_HIERA=${MANAGE_HIERA:-true}
|
||||
export PUPPET_ARGS="${PUPPET_ARGS} --detailed-exitcodes --color=false --test --trace --hiera_config ${HIERA_CONFIG} --logdest ${WORKSPACE}/puppet.log"
|
||||
export DISTRO=$(lsb_release -c -s)
|
||||
export TEMPEST_VERSION=${TEMPEST_VERSION:-'origin/master'}
|
||||
|
||||
# NOTE(pabelanger): Setup facter to know about AFS mirror.
|
||||
if [ -f /etc/nodepool/provider ]; then
|
||||
@ -98,6 +99,10 @@ else
|
||||
fi
|
||||
fi
|
||||
|
||||
pushd /tmp/openstack/tempest
|
||||
git reset --hard $TEMPEST_VERSION
|
||||
popd
|
||||
|
||||
# NOTE(pabelanger): We cache cirros images on our jenkins slaves, check if it
|
||||
# exists.
|
||||
if [ -f ~/cache/files/cirros-0.3.4-x86_64-disk.img ]; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user