From 16ee24890e7aa1b3303e0ae0ab434226f3ef1fd4 Mon Sep 17 00:00:00 2001 From: Frank-ZhangXin Date: Fri, 22 Feb 2019 10:35:08 -0600 Subject: [PATCH] Avoid pre-set DEPLOY_AIO in gating We should not pre-set DEPLOY_AIO before job condition, and there's no reason to set DEPLOY_AIO in MNAIO case. Moving this env var setting to AIO case part. --- gating/check/run | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/gating/check/run b/gating/check/run index 5c9ad96a7..a5c3927f1 100755 --- a/gating/check/run +++ b/gating/check/run @@ -10,10 +10,6 @@ echo "+-------------------- ENV VARS --------------------+" env echo "+-------------------- ENV VARS --------------------+" -## Vars ---------------------------------------------------------------------- - -export DEPLOY_AIO="true" - source "$(readlink -f $(dirname ${0}))/../gating_vars.sh" ## Main ---------------------------------------------------------------------- @@ -28,6 +24,7 @@ if [[ ${RE_JOB_ACTION} == "tox-test" ]]; then elif [[ ${RE_JOB_IMAGE} =~ .*mnaio.* ]]; then bash -c "$(readlink -f $(dirname ${0})/run_deploy_mnaio.sh)" else + export DEPLOY_AIO="true" bash -c "$(readlink -f $(dirname ${0})/../../scripts/deploy.sh)" # Enable the debug stdout callback to ensure that the console