summaryrefslogtreecommitdiffstats
path: root/jjb/yardstick
diff options
context:
space:
mode:
authorJun Li <lijun_1203@126.com>2017-09-01 12:06:09 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-09-01 12:06:09 +0000
commit214407724f73efd840e2f112e4849ff9c878c5ea (patch)
treedf55e9a7478ae19a49d7c36c408c813d4288cf69 /jjb/yardstick
parente7d0ada29bd6acf2dab0fb79b8cbfa3b4e20fa0a (diff)
parentc3cf88125271ea76695519f47ba56eac997fc904 (diff)
Merge "Missing "-y" when install docker.io"
Diffstat (limited to 'jjb/yardstick')
-rwxr-xr-xjjb/yardstick/yardstick-daily.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/jjb/yardstick/yardstick-daily.sh b/jjb/yardstick/yardstick-daily.sh
index c91ea47a1..aaefba26e 100755
--- a/jjb/yardstick/yardstick-daily.sh
+++ b/jjb/yardstick/yardstick-daily.sh
@@ -60,7 +60,7 @@ map_log_dir="-v ${dir_result}:/tmp/yardstick"
# Run docker
if [[ ${INSTALLER_TYPE} == "joid" && "${DEPLOY_SCENARIO:0:2}" == "k8" ]];then
- juju ssh kubernetes-master/0 sudo apt-get install docker.io
+ juju ssh kubernetes-master/0 sudo apt-get install -y docker.io
cmd="juju ssh kubernetes-master/0 sudo docker run ${opts} ${envs} ${rc_file_vol} ${cacert_file_vol} ${map_log_dir} ${sshkey} opnfv/yardstick:${DOCKER_TAG} exec_tests.sh ${YARDSTICK_DB_BACKEND} ${YARDSTICK_SCENARIO_SUITE_NAME}"
else
cmd="sudo docker run ${opts} ${envs} ${rc_file_vol} ${cacert_file_vol} ${map_log_dir} ${sshkey} opnfv/yardstick:${DOCKER_TAG} \