[[ $CI_DEBUG == true ]] && redirect="/dev/stdout" || redirect="/dev/null"
+redirect="/dev/stdout"
FUNCTEST_DIR=/home/opnfv/functest
DEPLOY_TYPE=baremetal
[[ $BUILD_TAG =~ "virtual" ]] && DEPLOY_TYPE=virt
echo "Functest: Start Docker and prepare environment"
echo "Functest: Download images that will be used by test cases"
+env
+pwd
+ls -l
images_dir="${HOME}/opnfv/functest/images"
download_script=${WORKSPACE}/functest/ci/download_images.sh
-if [[ ! -f ${download_script} ]]; then
- # to support Danube as well
- wget https://git.opnfv.org/functest/plain/functest/ci/download_images.sh -O ${download_script} 2> ${redirect}
-fi
chmod +x ${download_script}
${download_script} ${images_dir} ${DEPLOY_SCENARIO} ${HOST_ARCH} 2> ${redirect}
tiers=(${FUNCTEST_TIER})
run_tiers ${tiers}
else
- tests=(tempest_full tempest_scenario)
+ 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)
else
- tiers=(healthcheck smoke benchmarking features vnf)
+ tiers=(healthcheck smoke benchmarking features vnf components)
fi
else
if [[ ${BRANCH} == "stable/fraser" ]]; then
tiers=(healthcheck smoke features parser)
tests=(tempest_full_parallel)
else
- tiers=(healthcheck smoke benchmarking features)
+ tiers=(healthcheck smoke benchmarking features components)
fi
fi
run_tiers ${tiers}