From 956d5e125bd00ec7b0eef84013b3c290692f657c Mon Sep 17 00:00:00 2001 From: seshukm Date: Fri, 10 Nov 2017 11:38:19 +0530 Subject: Added MariaDB in SO CSIT setup IssueId: SO-330 Change-Id: I980ab40c4f49c60116edd6a76fb3d3ce1ebeb7d0 Signed-off-by: seshukm --- test/csit/plans/so/sanity-check/setup.sh | 6 +++++- test/csit/plans/so/sanity-check/teardown.sh | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'test/csit/plans/so') diff --git a/test/csit/plans/so/sanity-check/setup.sh b/test/csit/plans/so/sanity-check/setup.sh index 77a33bf65..cd0cbdc33 100644 --- a/test/csit/plans/so/sanity-check/setup.sh +++ b/test/csit/plans/so/sanity-check/setup.sh @@ -17,8 +17,12 @@ # 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}/test/csit/scripts/mariadb/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d -v ${WORKSPACE}/test/csit/scripts/mariadb/conf.d:/etc/mysql/conf.d nexus3.onap.org:10001/mariadb + #start so -docker run -d -i -t --name=so -p 8080:8080 nexus3.onap.org:10001/openecomp/mso +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}/test/csit/scripts/so/chef-config:/shared nexus3.onap.org:10001/openecomp/mso:1.1-STAGING-latest + SO_IP=`get-instance-ip.sh so` # Wait for initialization diff --git a/test/csit/plans/so/sanity-check/teardown.sh b/test/csit/plans/so/sanity-check/teardown.sh index a924a074f..1696c745c 100644 --- a/test/csit/plans/so/sanity-check/teardown.sh +++ b/test/csit/plans/so/sanity-check/teardown.sh @@ -15,4 +15,5 @@ # limitations under the License. # +kill-instance.sh mariadb kill-instance.sh so -- cgit 1.2.3-korg