From: Aric Gardner Date: Fri, 29 Sep 2017 16:34:52 +0000 (+0000) Subject: Merge "Add mcp.rsa in the yardstick container for fuel" X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=f7c64a2b10cc0f727f4bd40afa7ed8eda27ffacc;hp=c65ca34d344798756596c056dc3162757a744e47;p=releng.git Merge "Add mcp.rsa in the yardstick container for fuel" --- diff --git a/jjb/yardstick/yardstick-daily.sh b/jjb/yardstick/yardstick-daily.sh index 8b3980fbc..5398a3402 100755 --- a/jjb/yardstick/yardstick-daily.sh +++ b/jjb/yardstick/yardstick-daily.sh @@ -18,6 +18,10 @@ if [[ ${INSTALLER_TYPE} == 'apex' ]]; then fi fi +if [[ "${INSTALLER_TYPE}" == 'fuel' ]]; then + sshkey="-v ${SSH_KEY}:/root/.ssh/mcp.rsa" +fi + if [[ ${INSTALLER_TYPE} == 'joid' ]]; then if [[ "${DEPLOY_SCENARIO:0:2}" == "k8" ]];then rc_file_vol="-v /home/ubuntu/config:/etc/yardstick/admin.conf" @@ -47,6 +51,10 @@ envs="-e INSTALLER_TYPE=${INSTALLER_TYPE} -e INSTALLER_IP=${INSTALLER_IP} \ -e YARDSTICK_BRANCH=${BRANCH} -e BRANCH=${BRANCH} \ -e DEPLOY_SCENARIO=${DEPLOY_SCENARIO}" +if [[ "${INSTALLER_TYPE}" == 'fuel' ]]; then + envs+=" -e SSH_KEY=/root/.ssh/mcp.rsa" +fi + # Pull the image with correct tag DOCKER_REPO='opnfv/yardstick' if [ "$(uname -m)" = 'aarch64' ]; then