Updated from OpenStack Ansible Tests
Change-Id: I86bec82fb3d03bb42912a719c97b1268d97e6c06
This commit is contained in:
parent
781dd9ce0c
commit
195fc53264
@ -33,7 +33,7 @@ set -e
|
|||||||
export TESTING_HOME=${TESTING_HOME:-$HOME}
|
export TESTING_HOME=${TESTING_HOME:-$HOME}
|
||||||
export WORKING_DIR=${WORKING_DIR:-$(pwd)}
|
export WORKING_DIR=${WORKING_DIR:-$(pwd)}
|
||||||
export CLONE_UPGRADE_TESTS=${CLONE_UPGRADE_TESTS:-no}
|
export CLONE_UPGRADE_TESTS=${CLONE_UPGRADE_TESTS:-no}
|
||||||
export ZUUL_TESTS_CLONE_LOCATION="/home/zuul/src/git.openstack.org/openstack/openstack-ansible-tests"
|
export ZUUL_TESTS_CLONE_LOCATION="/home/zuul/src/opendev.org/openstack/openstack-ansible-tests"
|
||||||
|
|
||||||
## Functions -----------------------------------------------------------------
|
## Functions -----------------------------------------------------------------
|
||||||
|
|
||||||
@ -66,7 +66,7 @@ if [[ -x /usr/zuul-env/bin/zuul-cloner ]] && [[ "${ZUUL_REF:-none}" != "none" ]]
|
|||||||
/usr/zuul-env/bin/zuul-cloner \
|
/usr/zuul-env/bin/zuul-cloner \
|
||||||
--cache-dir /opt/git \
|
--cache-dir /opt/git \
|
||||||
--map ${TESTING_HOME}/tests-clonemap.yaml \
|
--map ${TESTING_HOME}/tests-clonemap.yaml \
|
||||||
https://git.openstack.org \
|
https://opendev.org \
|
||||||
openstack/openstack-ansible-tests
|
openstack/openstack-ansible-tests
|
||||||
|
|
||||||
# Clean up the clonemap.
|
# Clean up the clonemap.
|
||||||
@ -97,7 +97,7 @@ elif [[ ! -d tests/common ]]; then
|
|||||||
# repo in some way, so just clone it from upstream.
|
# repo in some way, so just clone it from upstream.
|
||||||
else
|
else
|
||||||
git clone -b stable/queens \
|
git clone -b stable/queens \
|
||||||
https://git.openstack.org/openstack/openstack-ansible-tests \
|
https://opendev.org/openstack/openstack-ansible-tests \
|
||||||
${WORKING_DIR}/tests/common
|
${WORKING_DIR}/tests/common
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
@ -111,7 +111,7 @@ fi
|
|||||||
if [[ "${CLONE_UPGRADE_TESTS}" == "yes" ]]; then
|
if [[ "${CLONE_UPGRADE_TESTS}" == "yes" ]]; then
|
||||||
if [[ ! -d "${WORKING_DIR}/tests/common/previous" ]]; then
|
if [[ ! -d "${WORKING_DIR}/tests/common/previous" ]]; then
|
||||||
git clone -b stable/pike \
|
git clone -b stable/pike \
|
||||||
https://git.openstack.org/openstack/openstack-ansible-tests \
|
https://opendev.org/openstack/openstack-ansible-tests \
|
||||||
${WORKING_DIR}/tests/common/previous
|
${WORKING_DIR}/tests/common/previous
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user