summaryrefslogtreecommitdiffstats
path: root/csit/plans/dmi/setup.sh
diff options
context:
space:
mode:
authoremaclee <lee.anjella.macabuhay@est.tech>2023-02-02 11:03:31 +0000
committerLee Anjella Macabuhay <lee.anjella.macabuhay@est.tech>2023-02-02 13:33:07 +0000
commitf07370606ca12b70566cfbe663c9801d41044f34 (patch)
treea34abd00a4b239508be11caf0ee78a1a2bd95593 /csit/plans/dmi/setup.sh
parentfd5a7d0247647350b8c82255e5210f6dac577aeb (diff)
NCMP-DMI: Modify CSIT script to have absolute root path env
- change set up to call docker compose for cps-ncmp - add root as a property in 'test.properties' - root is specified to be root directory folder for the current project Issue-ID: CPS-1472 Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech> Change-Id: I7648285ab55dd48a934535014953d6f887594742
Diffstat (limited to 'csit/plans/dmi/setup.sh')
-rwxr-xr-xcsit/plans/dmi/setup.sh8
1 files changed, 2 insertions, 6 deletions
diff --git a/csit/plans/dmi/setup.sh b/csit/plans/dmi/setup.sh
index 03d79c2b..7008e29b 100755
--- a/csit/plans/dmi/setup.sh
+++ b/csit/plans/dmi/setup.sh
@@ -62,13 +62,9 @@ docker-compose version
docker-compose up -d
####################### setup cps-ncmp ############################
-
-cd $WORKSPACE/archives
+cd $DMI_PLUGIN_HOME
git clone "https://gerrit.onap.org/r/cps"
-mkdir -p $WORKSPACE/archives/dc-cps-ncmp
-cat $WORKSPACE/archives/cps/docker-compose/docker-compose.yml
-cp $WORKSPACE/archives/cps/docker-compose/*.yml $WORKSPACE/archives/dc-cps-ncmp
-cd $WORKSPACE/archives/dc-cps-ncmp
+cd $DMI_PLUGIN_HOME/cps/docker-compose
docker-compose up -d
###################### setup sdnc #######################################