diff options
-rw-r--r-- | qtip/scripts/quickstart.sh | 4 | ||||
-rw-r--r-- | tests/ci/utils/start_services.sh | 5 |
2 files changed, 7 insertions, 2 deletions
diff --git a/qtip/scripts/quickstart.sh b/qtip/scripts/quickstart.sh index 826ed656..b430aa3f 100644 --- a/qtip/scripts/quickstart.sh +++ b/qtip/scripts/quickstart.sh @@ -56,8 +56,8 @@ pod_name=${pod_name:-$NODE_NAME} scenario=${scenario:-$SCENARIO} testapi_url=${testapi_url:-$TESTAPI_URL} -# we currently support ericsson, intel, lf and zte labs -if [[ ! "$installer_type" =~ (fuel|apex) ]]; then +# we currently support fuel, apex and mcp +if [[ ! "$installer_type" =~ (fuel|apex|mcp) ]]; then echo "Unsupported/unidentified installer $installer_type. Cannot continue!" exit 1 fi diff --git a/tests/ci/utils/start_services.sh b/tests/ci/utils/start_services.sh index 5c95ed7e..0932d45e 100644 --- a/tests/ci/utils/start_services.sh +++ b/tests/ci/utils/start_services.sh @@ -27,5 +27,10 @@ grep "export" ${TMPFILE} | sed "s/export //" >> $ENV_FILE # eliminate warning message "Invalid -W option ignored: invalid action: '"ignore'" sed -i '/^PYTHONWARNINGS=/d' $ENV_FILE +# In CI job, it still uses fuel to represent MCP. +if [[ "${BRANCH}" =~ "master" and "${INSTALLER_TYPE}" =~ "fuel" ]]; then + sed -i 's/INSTALLER_TYPE=fuel/INSTALLER_TYPE=mcp' $ENV_FILE +fi + docker-compose -f $script_dir/${TEST_SUITE}/docker-compose.yaml pull docker-compose -f $script_dir/${TEST_SUITE}/docker-compose.yaml up -d |