aboutsummaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
authorRoss Brattain <ross.b.brattain@intel.com>2017-08-28 17:24:04 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-08-28 17:24:04 +0000
commit57b17a2223d8751f2c5eae660b706e2fc736a47c (patch)
tree2531c3a7ea354ab9b8ddace0a411b0925842b381 /docker
parent6b762e9edb2f7913348d99c1c240fe94b9f7cbf9 (diff)
parent731a5bcfacc17c9189837d2af2d5dc1f0a95ccff (diff)
Merge "Kubernetes context adoption when run in CI"
Diffstat (limited to 'docker')
-rwxr-xr-xdocker/exec_tests.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/docker/exec_tests.sh b/docker/exec_tests.sh
index 46e5a05bd..93e017f49 100755
--- a/docker/exec_tests.sh
+++ b/docker/exec_tests.sh
@@ -96,8 +96,10 @@ fi
cd ${YARDSTICK_REPO_DIR}
git_checkout ${YARDSTICK_BRANCH}
-# setup the environment
-source ${YARDSTICK_REPO_DIR}/tests/ci/prepare_env.sh
+if [[ "${DEPLOY_SCENARIO:0:2}" == "os" ]];then
+ # setup the environment
+ source ${YARDSTICK_REPO_DIR}/tests/ci/prepare_env.sh
+fi
# execute tests
${YARDSTICK_REPO_DIR}/tests/ci/yardstick-verify $@