Merge "Remove implementation to run p-o-i tests in tempest repo"
This commit is contained in:
commit
94dc6fcb0e
10
run_tests.sh
10
run_tests.sh
@ -96,12 +96,6 @@ print_header 'Clone Tempest, plugins & pre-cache CirrOS'
|
||||
# the local directory but works needs to be added into puppet to properly find
|
||||
# the path.
|
||||
|
||||
# If it's running in tempest gate, we need to deploy it from source to test the
|
||||
# patch.
|
||||
if [[ "${ZUUL_PROJECT}" = "openstack/tempest" ]]; then
|
||||
TEMPEST_FROM_SOURCE=true
|
||||
fi
|
||||
|
||||
if [ -d /home/zuul/src/opendev.org ]; then
|
||||
if [ "${TEMPEST_FROM_SOURCE}" = true ]; then
|
||||
if [ -d /home/zuul/src/opendev.org/openstack/tempest ]; then
|
||||
@ -109,15 +103,11 @@ if [ -d /home/zuul/src/opendev.org ]; then
|
||||
cp -R /home/zuul/src/opendev.org/openstack/tempest /tmp/openstack/tempest
|
||||
else
|
||||
git clone https://opendev.org/openstack/tempest /tmp/openstack/tempest
|
||||
# Pin Tempest to TEMPEST_VERSION unless we're running inside the
|
||||
# openstack/tempest gate.
|
||||
if [[ "${ZUUL_PROJECT}" != "openstack/tempest" ]]; then
|
||||
pushd /tmp/openstack/tempest
|
||||
git reset --hard $TEMPEST_VERSION
|
||||
popd
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
else
|
||||
if [ "${TEMPEST_FROM_SOURCE}" = true ]; then
|
||||
$SUDO rm -rf /tmp/openstack/tempest
|
||||
|
Loading…
x
Reference in New Issue
Block a user