From e063a0376c0f4107f8e3491128ce130f81d1dbb8 Mon Sep 17 00:00:00 2001 From: chensuyue Date: Fri, 30 May 2025 14:44:18 +0800 Subject: [PATCH 1/3] Build comps-base:ci for AgentQnA test for more information, see https://pre-commit.ci Signed-off-by: chensuyue --- AgentQnA/tests/step1_build_images.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/AgentQnA/tests/step1_build_images.sh b/AgentQnA/tests/step1_build_images.sh index 8edd7b623a..58b5c8d6e8 100644 --- a/AgentQnA/tests/step1_build_images.sh +++ b/AgentQnA/tests/step1_build_images.sh @@ -13,6 +13,10 @@ function get_genai_comps() { if [ ! -d "GenAIComps" ] ; then git clone --depth 1 --branch ${opea_branch:-"main"} https://github.com/opea-project/GenAIComps.git fi + pushd GenAIComps + echo "GenAIComps test commit is $(git rev-parse HEAD)" + docker build --no-cache -t ${REGISTRY}/comps-base:${TAG} --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy -f Dockerfile . + popd && sleep 1s } function build_docker_images_for_retrieval_tool(){ From 9dc990203ca884f9bf2fdcb7a7205a065b668aa0 Mon Sep 17 00:00:00 2001 From: chensuyue Date: Fri, 30 May 2025 15:58:07 +0800 Subject: [PATCH 2/3] for test only for more information, see https://pre-commit.ci Signed-off-by: chensuyue --- .github/workflows/pr-docker-compose-e2e.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr-docker-compose-e2e.yml b/.github/workflows/pr-docker-compose-e2e.yml index d7aba56bb5..e1073e7824 100644 --- a/.github/workflows/pr-docker-compose-e2e.yml +++ b/.github/workflows/pr-docker-compose-e2e.yml @@ -7,7 +7,7 @@ permissions: contents: read on: - pull_request_target: + pull_request: branches: ["main", "*rc"] types: [opened, reopened, ready_for_review, synchronize] # added `ready_for_review` since draft is skipped paths: @@ -15,7 +15,7 @@ on: - "**.py" - "**/docker_compose/**" - "**/docker_image_build/**" - - "**/tests/test_compose**" + - "**/tests/**" - "**/ui/**" - "!**.md" - "!**.txt" From e6b3a9c16141df027fa0b2fa4398b36e78fa1d3e Mon Sep 17 00:00:00 2001 From: chensuyue Date: Tue, 3 Jun 2025 09:57:36 +0800 Subject: [PATCH 3/3] remove test code for more information, see https://pre-commit.ci Signed-off-by: chensuyue --- .github/workflows/pr-docker-compose-e2e.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr-docker-compose-e2e.yml b/.github/workflows/pr-docker-compose-e2e.yml index e1073e7824..2ef93439ce 100644 --- a/.github/workflows/pr-docker-compose-e2e.yml +++ b/.github/workflows/pr-docker-compose-e2e.yml @@ -7,7 +7,7 @@ permissions: contents: read on: - pull_request: + pull_request_target: branches: ["main", "*rc"] types: [opened, reopened, ready_for_review, synchronize] # added `ready_for_review` since draft is skipped paths: