diff options
author | Yujun Zhang <zhang.yujunz@zte.com.cn> | 2017-08-17 17:10:09 +0800 |
---|---|---|
committer | Yujun Zhang <zhang.yujunz@zte.com.cn> | 2017-08-17 17:19:34 +0800 |
commit | 94cfd0732b6e8ae95d2def807dad302c92c03d42 (patch) | |
tree | fdbc4ae61949b2b6997f61ba6f935d447ab6898b /tests | |
parent | ef578e8259d2d43c497cbc6e4d0d15a2afb2f076 (diff) |
Fix compute CI job
Change-Id: I86b2638b7e6ba2e8c4c6ba98b4cad8506d9d5c7c
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/ci/periodic.sh | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/tests/ci/periodic.sh b/tests/ci/periodic.sh index 4235cdee..3f5fe784 100755 --- a/tests/ci/periodic.sh +++ b/tests/ci/periodic.sh @@ -45,9 +45,9 @@ echo "Qtip: Pulling docker image: opnfv/qtip:${DOCKER_TAG}" docker pull opnfv/qtip:$DOCKER_TAG >/dev/null envs="--env-file $WORKSPACE/env_file" -docker_volume="-v /var/run/docker.sock:/var/run/docker.sock" +vols="-v /root/.ssh:/root/.ssh" -cmd="docker run -id ${envs} ${docker_volume} opnfv/qtip:${DOCKER_TAG} /bin/bash" +cmd="sudo docker run -id ${envs} ${vols} opnfv/qtip:${DOCKER_TAG} /bin/bash" echo "Qtip: Running docker command: ${cmd}" ${cmd} @@ -60,13 +60,6 @@ fi echo "The container ID is: ${container_id}" QTIP_REPO=/home/opnfv/repos/qtip -if [[ "$INSTALLER_TYPE" == "apex" ]];then - if [ -f /root/.ssh/id_rsa ]; then - sudo chmod 600 /root/.ssh/id_rsa - sudo docker cp /root/.ssh/id_rsa ${container_id}:/root/.ssh/ - fi -fi - case $TEST_SUITE in compute) docker exec -t ${container_id} bash -c "bash ${QTIP_REPO}/tests/ci/run_compute_qpi.sh" |