Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Nov 14, 2024
1 parent eda4598 commit 630b5bf
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
14 changes: 7 additions & 7 deletions DocSum/tests/test_compose_on_gaudi.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ ROOT_FOLDER=$(dirname "$(readlink -f "$0")")
function build_docker_images() {
cd $WORKPATH/docker_image_build
git clone https://github.com/opea-project/GenAIComps.git && cd GenAIComps && git checkout "${opea_branch:-"main"}" && cd ../

echo "Build all the images with --no-cache, check docker_image_build.log for details..."
service_list="docsum docsum-ui whisper-service multimedia2text-service a2t v2a llm-docsum-tgi"
docker compose -f build.yaml build ${service_list} --no-cache > ${LOG_PATH}/docker_image_build.log
Expand Down Expand Up @@ -79,13 +79,13 @@ function start_services() {
# opea/docsum:ci

docker compose -f compose.yaml up -d > ${LOG_PATH}/start_services_with_compose.log
sleep 60s
sleep 60s

echo "***************** docker compose ps ***********************"
docker compose ps
echo "***************** docker ps ***********************"
docker ps
echo "***********************************************************"
docker compose ps
echo "***************** docker ps ***********************"
docker ps
echo "***********************************************************"

n=0
until [[ "$n" -ge 100 ]]; do
Expand Down Expand Up @@ -251,7 +251,7 @@ function main() {
build_docker_images
echo ">>>> Docker images built successfully."
fi

echo "==========================================="
echo ">>>> Starting Docker services..."
start_services
Expand Down
6 changes: 3 additions & 3 deletions DocSum/tests/test_compose_on_xeon.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ ROOT_FOLDER=$(dirname "$(readlink -f "$0")")
function build_docker_images() {
cd $WORKPATH/docker_image_build
git clone https://github.com/opea-project/GenAIComps.git && cd GenAIComps && git checkout "${opea_branch:-"main"}" && cd ../

echo "Build all the images with --no-cache, check docker_image_build.log for details..."
service_list="docsum docsum-ui whisper-service multimedia2text-service a2t v2a llm-docsum-tgi"
docker compose -f build.yaml build ${service_list} --no-cache > ${LOG_PATH}/docker_image_build.log
Expand All @@ -57,7 +57,7 @@ function start_services() {
cd $WORKPATH/docker_compose/intel/cpu/xeon/

docker compose -f compose.yaml up -d > ${LOG_PATH}/start_services_with_compose.log
sleep 60s
sleep 60s

until [[ "$n" -ge 20 ]]; do
docker logs tgi-service > ${LOG_PATH}/tgi_service_start.log
Expand Down Expand Up @@ -226,7 +226,7 @@ function main() {
build_docker_images
echo ">>>> Docker images built successfully."
fi

echo "==========================================="
echo ">>>> Starting Docker services..."
start_services
Expand Down

0 comments on commit 630b5bf

Please sign in to comment.