X-Git-Url: https://gerrit.akraino.org/r/gitweb?p=rec.git;a=blobdiff_plain;f=workflows%2Fnanobot.sh;fp=workflows%2Fnanobot.sh;h=dc020701dc2fa7f2d53c0695ce0782f0aa69d066;hp=05f40b83a5dc24c1f374c29f12885813f1c32df5;hb=bf43e353b3a57356c6ae0186e6af148897fa73a4;hpb=a434c35f52ee4b1ee163c5cbfc16683e19ddd337 diff --git a/workflows/nanobot.sh b/workflows/nanobot.sh index 05f40b8..dc02070 100755 --- a/workflows/nanobot.sh +++ b/workflows/nanobot.sh @@ -1,65 +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 +#!/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