summaryrefslogtreecommitdiffstats
path: root/csit/run-project-csit.sh
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/run-project-csit.sh
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/run-project-csit.sh')
-rwxr-xr-xcsit/run-project-csit.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/csit/run-project-csit.sh b/csit/run-project-csit.sh
index a231c5e16..fcb3c925c 100755
--- a/csit/run-project-csit.sh
+++ b/csit/run-project-csit.sh
@@ -21,6 +21,7 @@
# $1 test options (passed on to run-csit.sh as such)
export TESTOPTIONS=${1}
+export CPS_HOME=$(git rev-parse --show-toplevel)
export WORKSPACE=$(git rev-parse --show-toplevel)/csit
rm -rf ${WORKSPACE}/archives