diff options
author | 2021-01-21 14:41:14 +0100 | |
---|---|---|
committer | 2021-01-27 14:01:03 +0000 | |
commit | 727354a35fcc6221ebfcca4ab7e251d011fc5bed (patch) | |
tree | 218c0e0e54c0c7fdf1830ffb97aa3f338446d035 /plans/ccsdk-oran/polmansuite/setup.sh | |
parent | ef3d76ba5ad5210f8405fcfffac191a08f6b5cba (diff) |
Update csit for nonrtric
Use robot framework, remove dependency on O-RAN-SC repo
Change-Id: I6f4da7cf2610fd56bb9d7e7f2fdea8a5b7e9489a
Signed-off-by: ecaiyanlinux <martin.c.yan@est.tech>
Issue-ID: CCSDK-3090
Diffstat (limited to 'plans/ccsdk-oran/polmansuite/setup.sh')
-rwxr-xr-x | plans/ccsdk-oran/polmansuite/setup.sh | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/plans/ccsdk-oran/polmansuite/setup.sh b/plans/ccsdk-oran/polmansuite/setup.sh index cf9ebde2..188b84db 100755 --- a/plans/ccsdk-oran/polmansuite/setup.sh +++ b/plans/ccsdk-oran/polmansuite/setup.sh @@ -1,7 +1,7 @@ #!/bin/bash # ============LICENSE_START=============================================== -# Copyright (C) 2020 Nordix Foundation. All rights reserved. +# Copyright (C) 2021 Nordix Foundation. All rights reserved. # ======================================================================== # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -19,17 +19,16 @@ cd $WORKSPACE/archives -git clone "https://gerrit.o-ran-sc.org/r/nonrtric" -b cherry - -AUTOTEST_ROOT=$WORKSPACE/archives/nonrtric/test/auto-test POLMAN_PLANS=$WORKSPACE/plans/ccsdk-oran/polmansuite +ARCHIVES=$WORKSPACE/archives -#Copy test script, adapted to ONAP images -cp $POLMAN_PLANS/FTC1.sh $WORKSPACE/archives/nonrtric/test/auto-test/FTC1.sh -cp $POLMAN_PLANS/FTC150.sh $WORKSPACE/archives/nonrtric/test/auto-test/FTC150.sh - -TEST_ENV=$POLMAN_PLANS/test_env-${GERRIT_BRANCH}.sh +#Copy test script +cp $POLMAN_PLANS/docker-compose.yml $WORKSPACE/archives/docker-compose.yml +cp -rf $POLMAN_PLANS/config/ $WORKSPACE/archives/config/ +cp -rf $POLMAN_PLANS/data/ $WORKSPACE/archives/data/ +cp -rf $POLMAN_PLANS/test/ $WORKSPACE/archives/test/ +cp -rf $POLMAN_PLANS/sdnc/ $WORKSPACE/archives/sdnc/ #Make the env vars availble to the robot scripts -ROBOT_VARIABLES="-b debug.log -v AUTOTEST_ROOT:${AUTOTEST_ROOT} -v TEST_ENV:${TEST_ENV}" +ROBOT_VARIABLES="-b debug.log -v ARCHIVES:${ARCHIVES}" |