Skip to content

Commit f474c52

Browse files
committed
relative path has been updated
1 parent f4803e6 commit f474c52

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

CodeGen/docker_compose/intel/set_env_opengauss.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,12 @@ export host_ip=${HOST_IP}
1414
export HF_TOKEN=${HF_TOKEN}
1515
if [ -z "${HF_TOKEN}" ]; then
1616
echo "Error: HF_TOKEN is not set. Please set HF_TOKEN"
17+
exit 1
1718
fi
1819

1920
if [ -z "${HOST_IP}" ]; then
2021
echo "Error: HOST_IP is not set. Please set HOST_IP first."
22+
exit 1
2123
fi
2224

2325
export no_proxy=${no_proxy},${HOST_IP}

CodeGen/tests/test_compose_opengauss_on_xeon.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ export MODEL_CACHE=${model_cache:-"./data"}
1414
WORKPATH=$(dirname "$PWD")
1515
LOG_PATH="$WORKPATH/tests"
1616
ip_address=$(hostname -I | awk '{print $1}')
17-
export host_ip=$(hostname -I | awk '{print $1}')
1817

1918
function 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

0 commit comments

Comments
 (0)