From e1f5f367ff63e2fb99967139325a67ffaee71d3d Mon Sep 17 00:00:00 2001 From: chensuyue Date: Wed, 25 Sep 2024 16:25:47 +0800 Subject: [PATCH 01/10] fix image build Signed-off-by: chensuyue --- comps/dataprep/neo4j/langchain/Dockerfile | 2 +- comps/llms/utils/lm-eval/Dockerfile | 12 +++++++----- comps/llms/utils/lm-eval/requirements.txt | 6 +++--- comps/vectorstores/pathway/Dockerfile | 4 ++-- comps/vectorstores/pathway/README.md | 4 +--- tests/vectorstores/test_vectorstores_pathway.sh | 4 +--- 6 files changed, 15 insertions(+), 17 deletions(-) diff --git a/comps/dataprep/neo4j/langchain/Dockerfile b/comps/dataprep/neo4j/langchain/Dockerfile index 5c1884359..eedc0075f 100644 --- a/comps/dataprep/neo4j/langchain/Dockerfile +++ b/comps/dataprep/neo4j/langchain/Dockerfile @@ -29,7 +29,7 @@ ENV PYTHONPATH=$PYTHONPATH:/home/user USER root -RUN mkdir -p /home/user/comps/dataprep/qdrant/langchain/uploaded_files && chown -R user /home/user/comps/dataprep/neo4j/langchain/uploaded_files +RUN mkdir -p /home/user/comps/dataprep/neo4j/langchain/uploaded_files && chown -R user /home/user/comps/dataprep/neo4j/langchain/uploaded_files USER user diff --git a/comps/llms/utils/lm-eval/Dockerfile b/comps/llms/utils/lm-eval/Dockerfile index 5f419bfbf..cf8b12a53 100644 --- a/comps/llms/utils/lm-eval/Dockerfile +++ b/comps/llms/utils/lm-eval/Dockerfile @@ -23,12 +23,14 @@ RUN apt-get update && apt-get install -y --no-install-recommends --fix-missing \ USER user -ARG REPO_COMPS=https://github.com/opea-project/GenAIComps.git -ARG BRANCH=main -RUN git clone --single-branch --branch=${BRANCH} ${REPO_COMPS} /home/user/GenAIComps/ && \ - cd /home/user/GenAIComps/ && python3 setup.py install && \ +COPY comps /home/user/comps + +RUN pip install --no-cache-dir --upgrade pip && \ pip install --no-cache-dir -r /home/user/GenAIComps/comps/llms/utils/lm-eval/requirements.txt -WORKDIR /home/user/GenAIComps/comps/llms/utils/lm-eval/ +ENV PYTHONPATH=$PYTHONPATH:/home/user + +WORKDIR /home/user/GenAIComps/comps/llms/utils/lm-eval + ENTRYPOINT ["python3", "self_hosted_hf.py"] diff --git a/comps/llms/utils/lm-eval/requirements.txt b/comps/llms/utils/lm-eval/requirements.txt index 43d6f7b79..bb41ddb88 100644 --- a/comps/llms/utils/lm-eval/requirements.txt +++ b/comps/llms/utils/lm-eval/requirements.txt @@ -1,4 +1,4 @@ -git+https://github.com/bigcode-project/bigcode-evaluation-harness.git@a1b4a7949a24c8e3ef0d05a01097b2d14ffba56e -git+https://github.com/opea-project/GenAIEval.git -lm-eval==0.4.2 +bigcode-eval@git+https://github.com/bigcode-project/bigcode-evaluation-harness.git +opea-eval +lm-eval==0.4.3 pydantic==2.7.2 diff --git a/comps/vectorstores/pathway/Dockerfile b/comps/vectorstores/pathway/Dockerfile index 3b775e31e..8739e69cc 100644 --- a/comps/vectorstores/pathway/Dockerfile +++ b/comps/vectorstores/pathway/Dockerfile @@ -15,12 +15,12 @@ RUN apt-get update && apt-get install -y \ WORKDIR /app -COPY requirements.txt /app/ +COPY comps/vectorstores/pathway/requirements.txt /app/ RUN if [ ${ARCH} = "cpu" ]; then pip install --no-cache-dir torch torchvision --index-url https://download.pytorch.org/whl/cpu; fi && \ pip install --no-cache-dir -r requirements.txt -COPY vectorstore_pathway.py /app/ +COPY comps/vectorstores/pathway/vectorstore_pathway.py /app/ CMD ["python", "vectorstore_pathway.py"] diff --git a/comps/vectorstores/pathway/README.md b/comps/vectorstores/pathway/README.md index 4a30287f0..65ac6aff9 100644 --- a/comps/vectorstores/pathway/README.md +++ b/comps/vectorstores/pathway/README.md @@ -57,9 +57,7 @@ For more information, see the relevant Pathway docs: Build the Docker and run the Pathway Vector Store: ```bash -cd comps/vectorstores/langchain/pathway/docker - -docker build --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy -t opea/vectorstore-pathway:latest . +docker build --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy -t opea/vectorstore-pathway:latest -f comps/vectorstores/pathway/Dockerfile . # with locally loaded model, you may add `EMBED_MODEL` env variable to configure the model. docker run -e PATHWAY_HOST=${PATHWAY_HOST} -e PATHWAY_PORT=${PATHWAY_PORT} -e http_proxy=$http_proxy -e https_proxy=$https_proxy -v ./data:/app/data -p ${PATHWAY_PORT}:${PATHWAY_PORT} opea/vectorstore-pathway:latest diff --git a/tests/vectorstores/test_vectorstores_pathway.sh b/tests/vectorstores/test_vectorstores_pathway.sh index 9fbcdd479..9403ecc99 100644 --- a/tests/vectorstores/test_vectorstores_pathway.sh +++ b/tests/vectorstores/test_vectorstores_pathway.sh @@ -10,9 +10,7 @@ ip_address=$(hostname -I | awk '{print $1}') function build_docker_images() { cd $WORKPATH - cd comps/vectorstores/pathway - - docker build --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy -t opea/vectorstore-pathway:comps . + docker build --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy -t opea/vectorstore-pathway:comps -f comps/vectorstores/pathway/Dockerfile . cd $WORKPATH From 8c6e02f12d2db520e4a68fc8b44b53195a88004c Mon Sep 17 00:00:00 2001 From: chensuyue Date: Wed, 25 Sep 2024 16:27:25 +0800 Subject: [PATCH 02/10] fix test scripts path Signed-off-by: chensuyue --- tests/{ => image2video}/test_image2video.sh | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename tests/{ => image2video}/test_image2video.sh (100%) diff --git a/tests/test_image2video.sh b/tests/image2video/test_image2video.sh similarity index 100% rename from tests/test_image2video.sh rename to tests/image2video/test_image2video.sh From 19e660240ec9393d0d69d467c5e2a343cbc3b586 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 25 Sep 2024 08:28:59 +0000 Subject: [PATCH 03/10] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- comps/llms/utils/lm-eval/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comps/llms/utils/lm-eval/requirements.txt b/comps/llms/utils/lm-eval/requirements.txt index bb41ddb88..a083fc2d0 100644 --- a/comps/llms/utils/lm-eval/requirements.txt +++ b/comps/llms/utils/lm-eval/requirements.txt @@ -1,4 +1,4 @@ bigcode-eval@git+https://github.com/bigcode-project/bigcode-evaluation-harness.git -opea-eval lm-eval==0.4.3 +opea-eval pydantic==2.7.2 From 274e286918360a197d423d02634344471078b900 Mon Sep 17 00:00:00 2001 From: chensuyue Date: Wed, 25 Sep 2024 16:43:15 +0800 Subject: [PATCH 04/10] clean up CI jobs Signed-off-by: chensuyue --- .github/workflows/manual-comps-test.yml | 4 +- .github/workflows/manual-docker-publish.yml | 11 +++- .github/workflows/manual-image-build.yml | 67 --------------------- .github/workflows/schedule-image-build.yml | 63 ------------------- 4 files changed, 10 insertions(+), 135 deletions(-) delete mode 100644 .github/workflows/manual-image-build.yml delete mode 100644 .github/workflows/schedule-image-build.yml diff --git a/.github/workflows/manual-comps-test.yml b/.github/workflows/manual-comps-test.yml index a56b297de..bc2ed86a8 100644 --- a/.github/workflows/manual-comps-test.yml +++ b/.github/workflows/manual-comps-test.yml @@ -7,7 +7,7 @@ on: inputs: services: default: "asr" - description: "List of services to test [agent,asr,chathistory,dataprep,embeddings,guardrails,llms,lvms,nginx,prompt_registry,reranks,retrievers,tts,web_retrievers]" + description: "List of services to test [agent,asr,chathistory,dataprep,embeddings,feedback_management,finetuning,guardrails,intent_detection,knowledgegraphs,llms,lvms,nginx,prompt_registry,ragas,reranks,retrievers,tts,vectorstores,web_retrievers]" required: true type: string build: @@ -21,7 +21,7 @@ on: required: false type: boolean tag: - default: "comps" + default: "rc" description: "Tag to apply to images" required: true type: string diff --git a/.github/workflows/manual-docker-publish.yml b/.github/workflows/manual-docker-publish.yml index 748cae8e9..b3c3fc314 100644 --- a/.github/workflows/manual-docker-publish.yml +++ b/.github/workflows/manual-docker-publish.yml @@ -7,7 +7,7 @@ on: inputs: services: default: "" - description: "List of services to test [agent,asr,chathistory,dataprep,embeddings,guardrails,knowledgegraphs,llms,lvms,nginx,prompt_registry,ragas,reranks,retrievers,tts,vectorstores,web_retrievers]" + description: "List of services to test [agent,asr,chathistory,dataprep,embeddings,feedback_management,finetuning,guardrails,intent_detection,knowledgegraphs,llms,lvms,nginx,prompt_registry,ragas,reranks,retrievers,tts,vectorstores,web_retrievers]" required: false type: string images: @@ -16,15 +16,20 @@ on: required: false type: string tag: - default: "v0.9" + default: "rc" description: "Tag to publish" required: true type: string publish_tags: - default: "latest,v0.9" + default: "latest,1.x" description: "Tag list apply to publish images" required: false type: string + mode: + default: "CD" + description: "Whether the test range is CI or CD" + required: false + type: string permissions: read-all jobs: diff --git a/.github/workflows/manual-image-build.yml b/.github/workflows/manual-image-build.yml deleted file mode 100644 index 0b274833b..000000000 --- a/.github/workflows/manual-image-build.yml +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright (C) 2024 Intel Corporation -# SPDX-License-Identifier: Apache-2.0 - -name: Build latest images on manual event - -on: - workflow_dispatch: - inputs: - services: - default: "asr,dataprep" - description: "List of services to build including [asr,dataprep,embeddings,guardrails,llms,reranks,retrievers,tts,web_retrievers]" - required: true - type: string - tag: - default: "latest" - description: "Tag to apply to images" - required: true - type: string - nodes: - default: "docker-build-xeon,docker-build-gaudi" - description: "List of nodes to run the build including [docker-build-xeon,docker-build-gaudi]" - required: true - type: string - -jobs: - get-build-matrix: - runs-on: ubuntu-latest - outputs: - services: ${{ steps.get-services.outputs.services }} - nodes: ${{ steps.get-services.outputs.nodes }} - steps: - - name: Get test Services - id: get-services - run: | - set -x - service_list=($(echo ${{ github.event.inputs.services }} | tr ',' ' ')) - services=$(printf '%s\n' "${service_list[@]}" | sort -u | jq -R '.' | jq -sc '.') - echo "services=$services" >> $GITHUB_OUTPUT - node_list=($(echo ${{ github.event.inputs.nodes }} | tr ',' ' ')) - nodes=$(printf '%s\n' "${node_list[@]}" | sort -u | jq -R '.' | jq -sc '.') - echo "nodes=$nodes" >> $GITHUB_OUTPUT - - image-build: - needs: get-build-matrix - strategy: - matrix: - service: ${{ fromJSON(needs.get-build-matrix.outputs.services) }} - node: ${{ fromJSON(needs.get-build-matrix.outputs.nodes) }} - runs-on: ${{ matrix.node }} - continue-on-error: true - steps: - - name: Clean Up Working Directory - run: | - sudo rm -rf ${{github.workspace}}/* - - - name: Checkout out Repo - uses: actions/checkout@v4 - - - name: Build image - env: - service: ${{ matrix.service }} - uses: opea-project/validation/actions/image-build@main - with: - work_dir: ${{ github.workspace }} - docker_compose_path: ${{ github.workspace }}/.github/workflows/docker/compose/${service}-compose.yaml - registry: ${OPEA_IMAGE_REPO}opea - tag: ${{ github.event.inputs.tag }} diff --git a/.github/workflows/schedule-image-build.yml b/.github/workflows/schedule-image-build.yml deleted file mode 100644 index fd3cd4960..000000000 --- a/.github/workflows/schedule-image-build.yml +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright (C) 2024 Intel Corporation -# SPDX-License-Identifier: Apache-2.0 - -name: Build latest images on schedule event - -on: - schedule: - - cron: "0 17 * * *" # 5:00 PM UTC every day, 1:00 AM CST every day - -env: - tag: "latest" - -jobs: - check-build: - runs-on: ubuntu-latest - outputs: - run_build: ${{ steps.get-changes.outputs.run_build }} - steps: - - name: Checkout out Repo - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - - name: Check if build is needed - id: get-changes - run: | - set -x - changed_files=$(git log --since="24 hours ago" --name-only --pretty=format: | grep comps/cores | grep -vE '*.md') || true - if [ -z "$changed_files" ]; then - echo "No changes in the last 24 hours for the 'comps/cores' directory" - echo "run_build=false" >> $GITHUB_OUTPUT - else - echo "Changes detected in the last 24 hours for the 'comps/cores' directory" - echo "run_build=true" >> $GITHUB_OUTPUT - fi - - image-build: - needs: check-build - if: ${{ needs.check-build.outputs.run_build == 'true' }} - strategy: - matrix: - service: - ["asr", "dataprep", "embeddings", "guardrails", "llms", "reranks", "retrievers", "tts", "web_retrievers"] - node: ["docker-build-xeon", "docker-build-gaudi"] - runs-on: ${{ matrix.node }} - continue-on-error: true - steps: - - name: Clean Up Working Directory - run: | - sudo rm -rf ${{github.workspace}}/* - - - name: Checkout out Repo - uses: actions/checkout@v4 - - - name: Build image - env: - service: ${{ matrix.service }} - uses: opea-project/validation/actions/image-build@main - with: - work_dir: ${{ github.workspace }} - docker_compose_path: ${{ github.workspace }}/.github/workflows/docker/compose/${service}-compose.yaml - registry: ${OPEA_IMAGE_REPO}opea - tag: ${tag} From 603f7234918bbe0b40f5620f3dfec5526db81f11 Mon Sep 17 00:00:00 2001 From: chensuyue Date: Wed, 25 Sep 2024 16:46:05 +0800 Subject: [PATCH 05/10] fix file path Signed-off-by: chensuyue --- comps/llms/utils/lm-eval/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/comps/llms/utils/lm-eval/Dockerfile b/comps/llms/utils/lm-eval/Dockerfile index cf8b12a53..57a4270df 100644 --- a/comps/llms/utils/lm-eval/Dockerfile +++ b/comps/llms/utils/lm-eval/Dockerfile @@ -26,11 +26,11 @@ USER user COPY comps /home/user/comps RUN pip install --no-cache-dir --upgrade pip && \ - pip install --no-cache-dir -r /home/user/GenAIComps/comps/llms/utils/lm-eval/requirements.txt + pip install --no-cache-dir -r /home/user/comps/llms/utils/lm-eval/requirements.txt ENV PYTHONPATH=$PYTHONPATH:/home/user -WORKDIR /home/user/GenAIComps/comps/llms/utils/lm-eval +WORKDIR /home/user/comps/llms/utils/lm-eval ENTRYPOINT ["python3", "self_hosted_hf.py"] From fd3c8cbdccf3b6f72cb1dd502509edc6e5a66b98 Mon Sep 17 00:00:00 2001 From: chensuyue Date: Wed, 25 Sep 2024 17:16:11 +0800 Subject: [PATCH 06/10] for test Signed-off-by: chensuyue --- tests/llms/test_llms_text-generation_vllm_langchain_openvino.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/llms/test_llms_text-generation_vllm_langchain_openvino.sh b/tests/llms/test_llms_text-generation_vllm_langchain_openvino.sh index ac57b29d8..8614633d6 100644 --- a/tests/llms/test_llms_text-generation_vllm_langchain_openvino.sh +++ b/tests/llms/test_llms_text-generation_vllm_langchain_openvino.sh @@ -16,6 +16,7 @@ function build_container() { cd $WORKPATH git clone https://github.com/vllm-project/vllm.git vllm-openvino cd ./vllm-openvino/ + # for test, something wrong with main branch image build docker build --no-cache -t $DOCKER_IMAGE \ -f Dockerfile.openvino \ . \ From 7f66fe8ded613a7cbf4bf1773428564ddaa06139 Mon Sep 17 00:00:00 2001 From: chensuyue Date: Wed, 25 Sep 2024 23:12:31 +0800 Subject: [PATCH 07/10] for test Signed-off-by: chensuyue --- tests/llms/test_llms_text-generation_vllm_langchain_openvino.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/llms/test_llms_text-generation_vllm_langchain_openvino.sh b/tests/llms/test_llms_text-generation_vllm_langchain_openvino.sh index 8614633d6..ab7d94cbb 100644 --- a/tests/llms/test_llms_text-generation_vllm_langchain_openvino.sh +++ b/tests/llms/test_llms_text-generation_vllm_langchain_openvino.sh @@ -15,7 +15,7 @@ CONTAINER_NAME="test-comps-vllm-openvino-container" function build_container() { cd $WORKPATH git clone https://github.com/vllm-project/vllm.git vllm-openvino - cd ./vllm-openvino/ + cd ./vllm-openvino/ && git checkout v0.6.1 # for test, something wrong with main branch image build docker build --no-cache -t $DOCKER_IMAGE \ -f Dockerfile.openvino \ From 2cf7782199424d1a79e182240dda5c8650652425 Mon Sep 17 00:00:00 2001 From: chensuyue Date: Thu, 26 Sep 2024 09:22:07 +0800 Subject: [PATCH 08/10] checkout image build branch Signed-off-by: chensuyue --- .github/workflows/_comps-workflow.yml | 1 + .../vllm/langchain/dependency/build_docker_vllm_openvino.sh | 2 +- .../vllm/llama_index/dependency/build_docker_vllm_openvino.sh | 2 +- .../llms/test_llms_text-generation_vllm_langchain_openvino.sh | 4 ++-- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/_comps-workflow.yml b/.github/workflows/_comps-workflow.yml index 5426ed41f..46e669aa3 100644 --- a/.github/workflows/_comps-workflow.yml +++ b/.github/workflows/_comps-workflow.yml @@ -65,6 +65,7 @@ jobs: cd ${{ github.workspace }} if [[ $(grep -c "vllm-openvino:" ${docker_compose_yml}) != 0 ]]; then git clone https://github.com/vllm-project/vllm.git vllm-openvino + cd ./vllm-openvino && git checkout v0.6.1 && cd ../ fi - name: Build Image diff --git a/comps/llms/text-generation/vllm/langchain/dependency/build_docker_vllm_openvino.sh b/comps/llms/text-generation/vllm/langchain/dependency/build_docker_vllm_openvino.sh index 4566263bc..7384ac8f2 100644 --- a/comps/llms/text-generation/vllm/langchain/dependency/build_docker_vllm_openvino.sh +++ b/comps/llms/text-generation/vllm/langchain/dependency/build_docker_vllm_openvino.sh @@ -5,6 +5,6 @@ BASEDIR="$( cd "$( dirname "$0" )" && pwd )" git clone https://github.com/vllm-project/vllm.git vllm -cd ./vllm/ +cd ./vllm/ && git checkout v0.6.1 docker build -t vllm:openvino -f Dockerfile.openvino . --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy cd $BASEDIR && rm -rf vllm diff --git a/comps/llms/text-generation/vllm/llama_index/dependency/build_docker_vllm_openvino.sh b/comps/llms/text-generation/vllm/llama_index/dependency/build_docker_vllm_openvino.sh index 4566263bc..7384ac8f2 100644 --- a/comps/llms/text-generation/vllm/llama_index/dependency/build_docker_vllm_openvino.sh +++ b/comps/llms/text-generation/vllm/llama_index/dependency/build_docker_vllm_openvino.sh @@ -5,6 +5,6 @@ BASEDIR="$( cd "$( dirname "$0" )" && pwd )" git clone https://github.com/vllm-project/vllm.git vllm -cd ./vllm/ +cd ./vllm/ && git checkout v0.6.1 docker build -t vllm:openvino -f Dockerfile.openvino . --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy cd $BASEDIR && rm -rf vllm diff --git a/tests/llms/test_llms_text-generation_vllm_langchain_openvino.sh b/tests/llms/test_llms_text-generation_vllm_langchain_openvino.sh index ab7d94cbb..40d1af965 100644 --- a/tests/llms/test_llms_text-generation_vllm_langchain_openvino.sh +++ b/tests/llms/test_llms_text-generation_vllm_langchain_openvino.sh @@ -15,8 +15,8 @@ CONTAINER_NAME="test-comps-vllm-openvino-container" function build_container() { cd $WORKPATH git clone https://github.com/vllm-project/vllm.git vllm-openvino - cd ./vllm-openvino/ && git checkout v0.6.1 - # for test, something wrong with main branch image build + cd ./vllm-openvino/ && git checkout v0.6.1 # something wrong with main branch image build + docker build --no-cache -t $DOCKER_IMAGE \ -f Dockerfile.openvino \ . \ From 0b298bd5aeae8babbbc9efa2436535efd61be3e4 Mon Sep 17 00:00:00 2001 From: chensuyue Date: Thu, 26 Sep 2024 11:24:26 +0800 Subject: [PATCH 09/10] fix image name Signed-off-by: chensuyue --- .github/workflows/docker/compose/retrievers-compose-cd.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docker/compose/retrievers-compose-cd.yaml b/.github/workflows/docker/compose/retrievers-compose-cd.yaml index 6e5ee43c2..8f4de8bbf 100644 --- a/.github/workflows/docker/compose/retrievers-compose-cd.yaml +++ b/.github/workflows/docker/compose/retrievers-compose-cd.yaml @@ -6,7 +6,7 @@ services: retriever-pgvector: build: dockerfile: comps/retrievers/pgvector/langchain/Dockerfile - image: ${REGISTRY:-opea}/retriever-qdrant:${TAG:-latest} + image: ${REGISTRY:-opea}/retriever-pgvector:${TAG:-latest} retriever-pinecone: build: dockerfile: comps/retrievers/pinecone/langchain/Dockerfile From 2d6169df605dcdf0b189c2ce90cd37146130d1f1 Mon Sep 17 00:00:00 2001 From: chensuyue Date: Fri, 27 Sep 2024 14:30:14 +0800 Subject: [PATCH 10/10] fix test case Signed-off-by: chensuyue --- tests/vectorstores/test_vectorstores_pathway.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/vectorstores/test_vectorstores_pathway.sh b/tests/vectorstores/test_vectorstores_pathway.sh index 9403ecc99..4964b2cd8 100644 --- a/tests/vectorstores/test_vectorstores_pathway.sh +++ b/tests/vectorstores/test_vectorstores_pathway.sh @@ -45,7 +45,7 @@ function start_service() { export PATHWAY_HOST="0.0.0.0" export PATHWAY_PORT=5437 - docker run -d --name="test-comps-vectorstore-pathway-ms" -e PATHWAY_HOST=${PATHWAY_HOST} -e PATHWAY_PORT=${PATHWAY_PORT} -e TEI_EMBEDDING_ENDPOINT=${TEI_EMBEDDING_ENDPOINT} -e http_proxy=$http_proxy -e https_proxy=$https_proxy -v $WORKPATH/comps/vectorstores/langchain/pathway/README.md:/app/data/README.md -p ${PATHWAY_PORT}:${PATHWAY_PORT} --network="host" opea/vectorstore-pathway:comps + docker run -d --name="test-comps-vectorstore-pathway-ms" -e PATHWAY_HOST=${PATHWAY_HOST} -e PATHWAY_PORT=${PATHWAY_PORT} -e TEI_EMBEDDING_ENDPOINT=${TEI_EMBEDDING_ENDPOINT} -e http_proxy=$http_proxy -e https_proxy=$https_proxy -v $WORKPATH/comps/vectorstores/pathway/README.md:/app/data/README.md -p ${PATHWAY_PORT}:${PATHWAY_PORT} --network="host" opea/vectorstore-pathway:comps sleep 45s