X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=near-rt-ric-simulator%2Fcommon%2Ftestcase_common.sh;h=dfca543c09367b8692e8e28dce5b0f5621f6dc20;hb=cab4e22306e67088c0e9a195d25767929ed55ca7;hp=7a8d8dca085255c62d8cedc5f248b211abe98271;hpb=ffde6eb81f80f6ebd8e7cb48b9acacd0733dd7fe;p=nonrtric.git diff --git a/near-rt-ric-simulator/common/testcase_common.sh b/near-rt-ric-simulator/common/testcase_common.sh index 7a8d8dca..dfca543c 100755 --- a/near-rt-ric-simulator/common/testcase_common.sh +++ b/near-rt-ric-simulator/common/testcase_common.sh @@ -2,7 +2,7 @@ . ../common/test_env.sh -echo "Test case started as: ${BASH_SOURCE[$i+1]} "$1 $2 +echo "Test case started as: ${BASH_SOURCE[$i+1]} "$1 # This is a script that contains all the functions needed for auto test # Arg: local | remote @@ -10,10 +10,10 @@ echo "Test case started as: ${BASH_SOURCE[$i+1]} "$1 $2 STARTED_POLICY_AGENT="" #Policy agent app names added to this var to keep track of started container in the script START_ARG=$1 IMAGE_TAG="1.0.0-SNAPSHOT" -IMAGE_TAG_REMOTE="1.0.0" +IMAGE_TAG_REMOTE="latest" if [ $# -lt 1 ] || [ $# -gt 2 ]; then - echo "Expected arg: local [] | remote [] " + echo "Expected arg: local | remote " exit 1 elif [ $1 == "local" ]; then if [ -z $POLICY_AGENT_LOCAL_IMAGE ]; then @@ -111,6 +111,22 @@ if [ $1 != "manual-container" ] && [ $1 != "manual-app" ]; then fi fi +echo "" + +echo "Building images for the simulators" +curdir=$PWD +cd $SIM_GROUP +cd ../ric-plt/a1 +docker build -t ric-simulator:latest . &> /dev/null +cd $curdir + +echo "" + +echo "Local registry images for simulators:" +echo "Consul: " $(docker images | grep consul) +echo "CBS: " $(docker images | grep platform.configbinding.app) +echo "RIC: " $(docker images | grep ric-simulator) +echo "" __consul_config() {