Merge "Do not reset tempest version in CI"

This commit is contained in:
Zuul 2021-03-16 00:25:46 +00:00 committed by Gerrit Code Review
commit 0fee3ad167

View File

@ -109,13 +109,13 @@ if [ -d /home/zuul/src/opendev.org ]; then
cp -R /home/zuul/src/opendev.org/openstack/tempest /tmp/openstack/tempest cp -R /home/zuul/src/opendev.org/openstack/tempest /tmp/openstack/tempest
else else
git clone https://opendev.org/openstack/tempest /tmp/openstack/tempest git clone https://opendev.org/openstack/tempest /tmp/openstack/tempest
fi # Pin Tempest to TEMPEST_VERSION unless we're running inside the
# Pin Tempest to TEMPEST_VERSION unless we're running inside the # openstack/tempest gate.
# openstack/tempest gate. if [[ "${ZUUL_PROJECT}" != "openstack/tempest" ]]; then
if [[ "${ZUUL_PROJECT}" != "openstack/tempest" ]]; then pushd /tmp/openstack/tempest
pushd /tmp/openstack/tempest git reset --hard $TEMPEST_VERSION
git reset --hard $TEMPEST_VERSION popd
popd fi
fi fi
fi fi
else else