X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=plans%2Fccsdk-oran%2Fpolmansuite%2Fsetup.sh;h=188b84dbb84644a6e0ae94aa5528db25a581d1df;hb=7e0741c5b3e4bddad0db31d0a65c670a10099d59;hp=c0dfa150c39b63ab2518ee7113c50cc8d42f9742;hpb=52bcf1e293486e2b50f51f68df79740d2036e666;p=integration%2Fcsit.git diff --git a/plans/ccsdk-oran/polmansuite/setup.sh b/plans/ccsdk-oran/polmansuite/setup.sh index c0dfa150..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,16 +19,16 @@ cd $WORKSPACE/archives -git clone "https://gerrit.o-ran-sc.org/r/nonrtric" +POLMAN_PLANS=$WORKSPACE/plans/ccsdk-oran/polmansuite +ARCHIVES=$WORKSPACE/archives -AUTOTEST_ROOT=$WORKSPACE/archives/nonrtric/test/auto-test - -# Temporary solution to setup the Non-RT RIC components to point to ONAP images and tags -# Shall be removed when the Non-RT RIC test env is moved/copied to ONAP -cp $WORKSPACE/plans/ccsdk-oran/polmansuite/test_env.sh $WORKSPACE/archives/nonrtric/test/common - -# Temporary solution to not test with the SDNC image -cp $WORKSPACE/plans/ccsdk-oran/polmansuite/FTC1.sh $WORKSPACE/archives/nonrtric/test/auto-test/FTC1.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}" +ROBOT_VARIABLES="-b debug.log -v ARCHIVES:${ARCHIVES}" +