dovetail: bugfix of docker save file permission 41/26841/1
authorMatthewLi <matthew.lijun@huawei.com>
Wed, 11 Jan 2017 02:22:12 +0000 (21:22 -0500)
committerMatthewLi <matthew.lijun@huawei.com>
Wed, 11 Jan 2017 02:23:35 +0000 (21:23 -0500)
JIRA: DOVETAIL-176

Change-Id: Idec8ba0c0ab3ba28372cea638315f121c41387b9
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
jjb/dovetail/dovetail-artifacts-upload.sh
jjb/dovetail/dovetail-run.sh

index b5d8fcf..b23deca 100755 (executable)
@@ -16,6 +16,7 @@ echo "dovetail: pull and save the images"
 cd ${CACHE_DIR}
 sudo docker pull ${DOCKER_REPO_NAME}:${DOCKER_TAG}
 sudo docker save -o ${STORE_FILE_NAME} ${DOCKER_REPO_NAME}:${DOCKER_TAG}
+sudo chmod og+rw ${STORE_FILE_NAME}
 
 OPNFV_ARTIFACT_VERSION=$(date -u +"%Y-%m-%d_%H-%M-%S")
 GS_UPLOAD_LOCATION="${STORE_URL}/${OPNFV_ARTIFACT_VERSION}"
index 4082c34..4cc03f7 100755 (executable)
@@ -57,7 +57,7 @@ if [ -z ${container_id} ]; then
     docker ps -a
     exit 1
 fi
-echo "COntainer Start: docker start ${container_id}"
+echo "Container Start: docker start ${container_id}"
 docker start ${container_id}
 sleep 5
 docker ps >${redirect}