ENERGY_RECORDER_API_URL=http://energy.opnfv.fr/resources
DOCKER_TAG=${DOCKER_TAG:-$([[ ${BRANCH##*/} == "master" ]] && echo "latest" || echo ${BRANCH##*/})}
-check_os_deployment() {
- FUNCTEST_IMAGE=${REPO}/functest-healthcheck:${DOCKER_TAG}
- echo "Functest: Pulling Functest Docker image ${FUNCTEST_IMAGE} ..."
- docker pull ${FUNCTEST_IMAGE}>/dev/null
- cmd="docker run --rm ${volumes} ${FUNCTEST_IMAGE} check_deployment"
- echo "Checking deployment, CMD: ${cmd}"
- eval ${cmd}
- ret_value=$?
- if [ ${ret_value} != 0 ]; then
- echo "ERROR: Problem while checking OpenStack deployment."
- exit 1
- else
- echo "OpenStack deployment OK."
- fi
-
-}
-
run_tiers() {
tiers=$1
cmd_opt="run_tests -r -t all"
else
tests=()
skip_tests=0
- if [ ${DEPLOY_TYPE} == 'baremetal' ] && [ "${HOST_ARCH}" != "aarch64" ]; then
- if [[ ${BRANCH} == "stable/fraser" ]]; then
- tiers=(healthcheck smoke features vnf parser)
- tests=(tempest_full_parallel)
- elif [[ ${BRANCH} == "stable/gambia" ]]; then
+ if [ "${HOST_ARCH}" != "aarch64" ]; then
+ if [[ ${BRANCH} == "stable/gambia" ]]; then
tiers=(healthcheck smoke benchmarking features vnf components)
else
tiers=(healthcheck smoke benchmarking features vnf)
fi
else
- if [[ ${BRANCH} == "stable/fraser" ]]; then
- tiers=(healthcheck smoke features parser)
- tests=(tempest_full_parallel)
- elif [[ ${BRANCH} == "stable/gambia" ]]; then
- tiers=(healthcheck smoke benchmarking features vnf components)
+ if [[ ${BRANCH} == "stable/gambia" ]]; then
+ tiers=(healthcheck smoke benchmarking features components)
else
tiers=(healthcheck smoke benchmarking features)
fi