summaryrefslogtreecommitdiffstats
path: root/scripts/optf-cmso
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/optf-cmso')
-rw-r--r--scripts/optf-cmso/cmso/clone_cmso_and_change_dockercompose.sh6
-rw-r--r--scripts/optf-cmso/cmso/kill_and_remove_cmso_containers.sh2
2 files changed, 4 insertions, 4 deletions
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