File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,10 +14,12 @@ export host_ip=${HOST_IP}
1414export HF_TOKEN=${HF_TOKEN}
1515if [ -z " ${HF_TOKEN} " ]; then
1616 echo " Error: HF_TOKEN is not set. Please set HF_TOKEN"
17+ exit 1
1718fi
1819
1920if [ -z " ${HOST_IP} " ]; then
2021 echo " Error: HOST_IP is not set. Please set HOST_IP first."
22+ exit 1
2123fi
2224
2325export no_proxy=${no_proxy} ,${HOST_IP}
Original file line number Diff line number Diff line change @@ -14,7 +14,6 @@ export MODEL_CACHE=${model_cache:-"./data"}
1414WORKPATH=$( dirname " $PWD " )
1515LOG_PATH=" $WORKPATH /tests"
1616ip_address=$( hostname -I | awk ' {print $1}' )
17- export host_ip=$( hostname -I | awk ' {print $1}' )
1817
1918function build_docker_images() {
2019 opea_branch=${opea_branch:- " main" }
@@ -45,7 +44,7 @@ function start_services() {
4544 export GS_DB=" postgres"
4645 export GS_CONNECTION_STRING=" opengauss+psycopg2://${GS_USER} :${GS_PASSWORD} @$ip_address :5432/${GS_DB} "
4746
48- source ../set_env_opengauss.sh
47+ source ../docker_compose/intel/ set_env_opengauss.sh
4948
5049 # Start Docker Containers
5150 docker compose -f compose_opengauss.yaml up -d --quiet-pull > ${LOG_PATH} /start_services_with_compose.log
You can’t perform that action at this time.
0 commit comments