From: zhihui wu Date: Wed, 25 Apr 2018 07:06:21 +0000 (+0800) Subject: bugfix fraser compute ci job X-Git-Tag: opnfv-6.0.0^0 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=873817cb48cb796bdbc4075299e92488cdee3f0e;p=qtip.git bugfix fraser compute ci job https://build.opnfv.org/ci/view/qtip/job/qtip-compute-fuel-zte-virtual6-fraser/ Installer type "fuel" should be replaced to "mcp". Change-Id: I9ecdfe8e8401532d32846cd94e4d9d06486e20e9 Signed-off-by: zhihui wu (cherry picked from commit 094386e88b330cda67cddc881825f7433bb47ea5) --- diff --git a/tests/ci/utils/start_services.sh b/tests/ci/utils/start_services.sh index 602a999e..6280be36 100644 --- a/tests/ci/utils/start_services.sh +++ b/tests/ci/utils/start_services.sh @@ -29,8 +29,10 @@ grep "export" ${TMPFILE} | sed "s/export //" >> $ENV_FILE sed -i '/^PYTHONWARNINGS=/d' $ENV_FILE # In CI job, it still uses fuel to represent MCP. -if [[ "${BRANCH}" =~ "master" && "${INSTALLER_TYPE}" =~ "fuel" ]];then - sed -i 's/^INSTALLER_TYPE=fuel/INSTALLER_TYPE=mcp/g' $ENV_FILE +if [[ "${INSTALLER_TYPE}" =~ "fuel" ]];then + if [[ ! "${BRANCH}" =~ "euphrates" ]];then + sed -i 's/^INSTALLER_TYPE=fuel/INSTALLER_TYPE=mcp/g' $ENV_FILE + fi fi docker-compose -f $script_dir/${TEST_SUITE}/docker-compose.yaml pull