X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=near-rt-ric-simulator%2Fcommon%2Ftestcase_common.sh;h=ae6563d08e93ab256585bf83e054fcc0f9207d03;hb=refs%2Fchanges%2F69%2F2369%2F3;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..ae6563d0 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 @@ -13,7 +13,7 @@ IMAGE_TAG="1.0.0-SNAPSHOT" IMAGE_TAG_REMOTE="1.0.0" 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() {