Skip to content

Commit 9ba034b

Browse files
authored
fix the docker image name for release image build (opea-project#1152)
Signed-off-by: chensuyue <suyue.chen@intel.com>
1 parent c3e6f43 commit 9ba034b

File tree

8 files changed

+18
-22
lines changed

8 files changed

+18
-22
lines changed

.github/workflows/push-image-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
branches: [ 'main' ]
99
paths:
1010
- "**.py"
11-
- "**Dockerfile"
11+
- "**Dockerfile*"
1212

1313
concurrency:
1414
group: ${{ github.workflow }}-${{ github.ref }}-on-push

DBQnA/docker_image_build/build.yaml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# SPDX-License-Identifier: Apache-2.0
33

44
services:
5-
texttosql-service:
5+
texttosql:
66
build:
77
context: GenAIComps
88
dockerfile: comps/texttosql/langchain/Dockerfile
@@ -11,11 +11,10 @@ services:
1111
https_proxy: ${https_proxy}
1212
no_proxy: ${no_proxy}
1313
image: ${REGISTRY:-opea}/texttosql:${TAG:-latest}
14-
15-
dbqna-xeon-react-ui:
14+
texttosql-react-ui:
1615
build:
17-
context: GenAIExamples/DBQnA/ui/docker
18-
dockerfile: Dockerfile.react
16+
context: ../ui
17+
dockerfile: ./docker/Dockerfile.react
1918
args:
2019
http_proxy: ${http_proxy}
2120
https_proxy: ${https_proxy}

EdgeCraftRAG/docker_image_build/build.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,23 @@
22
# SPDX-License-Identifier: Apache-2.0
33

44
services:
5-
server:
5+
edgecraftrag-server:
66
build:
77
context: ..
88
args:
99
http_proxy: ${http_proxy}
1010
https_proxy: ${https_proxy}
1111
dockerfile: ./Dockerfile.server
1212
image: ${REGISTRY:-opea}/edgecraftrag-server:${TAG:-latest}
13-
ui:
13+
edgecraftrag-ui:
1414
build:
1515
context: ..
1616
args:
1717
http_proxy: ${http_proxy}
1818
https_proxy: ${https_proxy}
1919
dockerfile: ./ui/docker/Dockerfile.ui
2020
image: ${REGISTRY:-opea}/edgecraftrag-ui:${TAG:-latest}
21-
ecrag:
21+
edgecraftrag:
2222
build:
2323
context: ..
2424
args:

EdgeCraftRAG/tests/test_compose_on_arc.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@ HF_ENDPOINT=https://hf-mirror.com
2828
function build_docker_images() {
2929
cd $WORKPATH/docker_image_build
3030
echo "Build all the images with --no-cache, check docker_image_build.log for details..."
31-
service_list="server ui ecrag"
32-
docker compose -f build.yaml build ${service_list} --no-cache > ${LOG_PATH}/docker_image_build.log
31+
docker compose -f build.yaml build --no-cache > ${LOG_PATH}/docker_image_build.log
3332

3433
docker images && sleep 1s
3534
}

GraphRAG/docker_compose/intel/hpu/gaudi/compose.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -145,9 +145,9 @@ services:
145145
- LOGFLAG=${LOGFLAG}
146146
ipc: host
147147
restart: always
148-
chatqna-gaudi-ui-server:
148+
graphrag-ui-server:
149149
image: ${REGISTRY:-opea}/graphrag-ui:${TAG:-latest}
150-
container_name: chatqna-gaudi-ui-server
150+
container_name: graphrag-ui-server
151151
depends_on:
152152
- graphrag-gaudi-backend-server
153153
ports:
@@ -163,14 +163,14 @@ services:
163163
container_name: chatqna-gaudi-nginx-server
164164
depends_on:
165165
- graphrag-gaudi-backend-server
166-
- chatqna-gaudi-ui-server
166+
- graphrag-ui-server
167167
ports:
168168
- "${NGINX_PORT:-80}:80"
169169
environment:
170170
- no_proxy=${no_proxy}
171171
- https_proxy=${https_proxy}
172172
- http_proxy=${http_proxy}
173-
- FRONTEND_SERVICE_IP=chatqna-gaudi-ui-server
173+
- FRONTEND_SERVICE_IP=graphrag-ui-server
174174
- FRONTEND_SERVICE_PORT=5173
175175
- BACKEND_SERVICE_NAME=graphrag
176176
- BACKEND_SERVICE_IP=graphrag-gaudi-backend-server

GraphRAG/docker_image_build/build.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ services:
2929
context: GenAIComps
3030
dockerfile: comps/dataprep/neo4j/llama_index/Dockerfile
3131
image: ${REGISTRY:-opea}/dataprep-neo4j-llamaindex:${TAG:-latest}
32-
chatqna-gaudi-nginx-server:
32+
nginx:
3333
build:
3434
args:
3535
http_proxy: ${http_proxy}
@@ -38,7 +38,7 @@ services:
3838
context: GenAIComps
3939
dockerfile: comps/nginx/Dockerfile
4040
image: ${REGISTRY:-opea}/nginx:${TAG:-latest}
41-
chatqna-gaudi-ui-server:
41+
graphrag-ui:
4242
build:
4343
args:
4444
http_proxy: ${http_proxy}

GraphRAG/tests/test_compose_on_gaudi.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,10 @@ function build_docker_images() {
1919
git clone https://github.com/opea-project/GenAIComps.git && cd GenAIComps && git checkout "${opea_branch:-"main"}" && cd ../
2020

2121
echo "Build all the images with --no-cache, check docker_image_build.log for details..."
22-
service_list="graphrag dataprep-neo4j-llamaindex retriever-neo4j-llamaindex chatqna-gaudi-ui-server chatqna-gaudi-nginx-server"
23-
docker compose -f build.yaml build ${service_list} --no-cache > ${LOG_PATH}/docker_image_build.log
22+
docker compose -f build.yaml build --no-cache > ${LOG_PATH}/docker_image_build.log
2423

2524
docker pull ghcr.io/huggingface/tgi-gaudi:2.0.6
2625
docker pull ghcr.io/huggingface/text-embeddings-inference:cpu-1.5
27-
docker pull neo4j:latest
2826
docker images && sleep 1s
2927
}
3028

Translation/tests/test_compose_on_gaudi.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ function start_services() {
5353
if grep -q Connected ${LOG_PATH}/tgi_service_start.log; then
5454
break
5555
fi
56-
sleep 10s
56+
sleep 5s
5757
n=$((n+1))
5858
done
5959
}
@@ -94,7 +94,7 @@ function validate_microservices() {
9494
"${ip_address}:8008/generate" \
9595
"generated_text" \
9696
"tgi-gaudi" \
97-
"tgi-gaudi-service" \
97+
"tgi-gaudi-server" \
9898
'{"inputs":"What is Deep Learning?","parameters":{"max_new_tokens":17, "do_sample": true}}'
9999

100100
# llm microservice

0 commit comments

Comments
 (0)