X-Git-Url: https://gerrit.akraino.org/r/gitweb?p=rec.git;a=blobdiff_plain;f=workflows%2Fnanobot.sh;fp=workflows%2Fnanobot.sh;h=05f40b83a5dc24c1f374c29f12885813f1c32df5;hp=0000000000000000000000000000000000000000;hb=a434c35f52ee4b1ee163c5cbfc16683e19ddd337;hpb=02632df4193a37306fa07fec3c5bae39766bc8bd diff --git a/workflows/nanobot.sh b/workflows/nanobot.sh new file mode 100755 index 0000000..05f40b8 --- /dev/null +++ b/workflows/nanobot.sh @@ -0,0 +1,65 @@ +#!/bin/bash +#------------------nanobot Pre-modification------------------------------------------------------------ +cd RIC/test/ric_robot_suite +#------------------Build the robot suite--------------------------------------------------------------- +docker build -t nanobot:latest -f docker/Dockerfile.nanobot . + +#---------pre-create the log file directory- find the value from the values.yaml----------------------- +sudo chown -R cloudadmin /opt +mkdir -p /opt/ric/robot/log + +kubectl create namespace rictest +kubectl create namespace ricxapp + +#----------create ricplatform danmnet------------------------------------------------------------------- +cat < /dev/null)" +if [[ $command != "" ]]; then + exit 1 +fi