From: Gary Wu Date: Mon, 22 Apr 2019 16:51:09 +0000 (+0000) Subject: Merge "Updated CSIT to reference new repo location" X-Git-Tag: 4.0.0-ONAP~29 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=8d43285f32048a09429aff6b9326959fb8cd52b8;hp=dbb0fcad2c692bc927db944c4f2e1786307e90b4;p=integration%2Fcsit.git Merge "Updated CSIT to reference new repo location" --- diff --git a/scripts/optf-cmso/cmso/clone_cmso_and_change_dockercompose.sh b/scripts/optf-cmso/cmso/clone_cmso_and_change_dockercompose.sh index 3b2de744..be12bfdc 100644 --- a/scripts/optf-cmso/cmso/clone_cmso_and_change_dockercompose.sh +++ b/scripts/optf-cmso/cmso/clone_cmso_and_change_dockercompose.sh @@ -28,7 +28,7 @@ echo "This is ${WORKSPACE}/scripts/cmso/clone_cmso_and_change_dockercompose.sh" mkdir -p /tmp/$WORKSPACE/archives/cmso-clone cd /tmp/$WORKSPACE/archives/cmso-clone git clone --depth 1 https://gerrit.onap.org/r/optf/cmso -b master -cd cmso/cmso-robot/docker/cmso-service +cd cmso/cmso-sonar/docker/integration sed -i '/image: onap\/optf-cmso-service/c\ image: nexus3.onap.org:10001\/onap\/optf-cmso-service:latest' docker-compose.yml sed -i '/image: onap\/optf-cmso-dbinit/c\ image: nexus3.onap.org:10001\/onap\/optf-cmso-dbinit:latest' docker-compose.yml @@ -50,9 +50,9 @@ cat up.txt echo ======================= ### Wait for robot to finish -docker exec cmsoservice_cmso-robot_1 ls +docker exec integration_cmso-robot_1 ls while [ $? -ne 1 ]; do sleep 120 - docker exec cmsoservice_cmso-robot_1 ls + docker exec integration_cmso-robot_1 ls done diff --git a/scripts/optf-cmso/cmso/kill_and_remove_cmso_containers.sh b/scripts/optf-cmso/cmso/kill_and_remove_cmso_containers.sh index 5d8c0597..6b121ad7 100644 --- a/scripts/optf-cmso/cmso/kill_and_remove_cmso_containers.sh +++ b/scripts/optf-cmso/cmso/kill_and_remove_cmso_containers.sh @@ -20,7 +20,7 @@ echo "This is ${WORKSPACE}/scripts/optf-cmso/cmso/kill_and_remove_cmso_containers.sh" cd /tmp/$WORKSPACE/archives/cmso-clone -cd cmso/cmso-robot/docker/cmso-service +cd cmso/cmso-sonar/docker/integration docker-compose down cp -f ./cmso-robot/logs/output.xml $WORKSPACE/archives