aboutsummaryrefslogtreecommitdiffstats
path: root/plans/so/integration-testing/setup.sh
diff options
context:
space:
mode:
authorsubhash kumar singh <subhash.kumar.singh@huawei.com>2018-10-26 14:25:28 +0530
committersubhash kumar singh <subhash.kumar.singh@huawei.com>2018-10-26 14:31:11 +0530
commit5e2fe2c76cf09b68165eeec1fe055afa245736e4 (patch)
tree5f312d40db529d35257db7829b838882b54d42a7 /plans/so/integration-testing/setup.sh
parent96028b74964d833bfb82322b8f5cc10d29b3da9b (diff)
Fix CSIT for SO
Fix SO's csit to execute test cases with new dockers. Change-Id: I00d750e10a0db7db1784b27ae6f36e69e42a4b05 Issue-ID: SO-1167 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
Diffstat (limited to 'plans/so/integration-testing/setup.sh')
-rw-r--r--plans/so/integration-testing/setup.sh18
1 files changed, 7 insertions, 11 deletions
diff --git a/plans/so/integration-testing/setup.sh b/plans/so/integration-testing/setup.sh
index 02c21f6e..4a35d0b2 100644
--- a/plans/so/integration-testing/setup.sh
+++ b/plans/so/integration-testing/setup.sh
@@ -17,20 +17,16 @@
# Place the scripts in run order:
# Start all process required for executing test case
-#start mariadb
-docker run -d --name mariadb -h db.mso.testlab.openecomp.org -e MYSQL_ROOT_PASSWORD=password -p 3306:3306 -v ${WORKSPACE}/scripts/mariadb/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d -v ${WORKSPACE}/scripts/mariadb/conf.d:/etc/mysql/conf.d nexus3.onap.org:10001/mariadb
+git clone http://gerrit.onap.org/r/so/docker-config.git test_lab
-#start so
-docker run -d --name so -h mso.mso.testlab.openecomp.org -e MYSQL_ROOT_PASSWORD=password --link=mariadb:db.mso.testlab.openecomp.org -p 8080:8080 -v ${WORKSPACE}/scripts/so/chef-config:/shared nexus3.onap.org:10001/openecomp/mso:1.1-STAGING-latest
+export NEXUS_DOCKER_REPO_MSO=nexus3.onap.org:10001
+export TAG=1.3.1
+# bring the so dockers
+docker-compose pull
+docker-compose up -d
-SO_IP=`get-instance-ip.sh so`
-# Wait for initialization
-for i in {1..10}; do
- curl -sS ${SO_IP}:1080 && break
- echo sleep $i
- sleep $i
-done
+sleep 4m
#REPO_IP=`docker inspect --format '{{ .NetworkSettings.IPAddress }}' so`
REPO_IP='127.0.0.1'