summaryrefslogtreecommitdiffstats
path: root/csit/plans
diff options
context:
space:
mode:
authoremaclee <lee.anjella.macabuhay@est.tech>2023-02-02 10:58:35 +0000
committerLee Anjella Macabuhay <lee.anjella.macabuhay@est.tech>2023-02-02 12:29:46 +0000
commit605bec25914adb79403bb43947aa3eb1bfb36fc4 (patch)
tree916cec81e65bbcfcc960beab7f2e1fd4fae3071e /csit/plans
parent230b1119dec71e301ba462246c3fc53d0fc0281a (diff)
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 - modified docker compose init container to use ROOT env var Issue-ID: CPS-1472 Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech> Change-Id: Ie5ac6bbff7cb1e761501bd0db8447f86af06b95f
Diffstat (limited to 'csit/plans')
-rwxr-xr-xcsit/plans/cps/setup.sh4
-rw-r--r--csit/plans/cps/test.properties2
2 files changed, 3 insertions, 3 deletions
diff --git a/csit/plans/cps/setup.sh b/csit/plans/cps/setup.sh
index 43575f944..c715da142 100755
--- a/csit/plans/cps/setup.sh
+++ b/csit/plans/cps/setup.sh
@@ -57,9 +57,7 @@ source $WORKSPACE/plans/cps/test.properties
export $(cut -d= -f1 $WORKSPACE/plans/cps/test.properties)
###################### setup cps-ncmp ############################
-mkdir -p $WORKSPACE/archives/dc-cps
-cp $WORKSPACE/../docker-compose/*.yml $WORKSPACE/archives/dc-cps
-cd $WORKSPACE/archives/dc-cps
+cd $CPS_HOME/docker-compose
curl -L https://github.com/docker/compose/releases/download/1.29.2/docker-compose-`uname -s`-`uname -m` > docker-compose
chmod +x docker-compose
diff --git a/csit/plans/cps/test.properties b/csit/plans/cps/test.properties
index 9e2236212..6a715f75d 100644
--- a/csit/plans/cps/test.properties
+++ b/csit/plans/cps/test.properties
@@ -27,3 +27,5 @@ DMI_VERSION=1.3.0-SNAPSHOT-latest
ADVISED_MODULES_SYNC_SLEEP_TIME_MS=2000
CMHANDLE_DATA_SYNC_SLEEP_TIME_MS=2000
+
+CPS_HOME=$CPS_HOME \ No newline at end of file