Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 11 additions & 4 deletions .github/workflows/pr-image-size.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ jobs:
matrix:
dockerfile: ${{ fromJson(needs.get-check-list.outputs.files) }}
fail-fast: false
# outputs:
# comments: ${{ steps.build-check.outputs.comment_message }}
outputs:
skip: ${{ steps.build-check.outputs.skip }}
steps:
- name: Checkout PR branch
uses: actions/checkout@v4
Expand Down Expand Up @@ -92,7 +92,11 @@ jobs:
echo "Building base image for $dockerfile"
git checkout ${{ github.event.pull_request.base.sha }}
echo "::group::Build image_base"
docker build -f $file -t "$image_base" --no-cache . || true
if ! docker build -f "$file" -t "$image_base" --no-cache .; then
echo "skip=true" >> $GITHUB_ENV
echo "skip=true" >> $GITHUB_OUTPUT
exit 0
fi
echo "::endgroup::"
size_base=$(docker image inspect "$image_base" | jq '.[0].Size / (1024 * 1024) | round')

Expand Down Expand Up @@ -123,19 +127,22 @@ jobs:
echo "summary_path=${{github.workspace}}/build-$image_name.md" >> $GITHUB_ENV

- name: Download origin artifact log
if: env.skip != 'true'
uses: actions/download-artifact@v4
with:
name: build-comments
path: merged-files
continue-on-error: true

- name: Merge logs
if: env.skip != 'true'
run: |
mkdir -p merged-files
ls merged-files/
cp ${{ env.summary_path }} merged-files/

- name: Save Summary as Artifact
if: env.skip != 'true'
uses: actions/upload-artifact@v4
with:
name: build-comments
Expand All @@ -146,7 +153,7 @@ jobs:
needs: build-and-check
permissions:
actions: read
if: always()
if: always() && needs.build-and-check.outputs.skip != 'true'
runs-on: ubuntu-latest
outputs:
all_comments: ${{ steps.summary.outputs.all_comments }}
Expand Down
4 changes: 2 additions & 2 deletions EdgeCraftRAG/edgecraftrag/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ langchain-core==0.3.60
llama-index==0.12.41
llama-index-core==0.12.41
llama-index-embeddings-openvino==0.5.2
llama-index-llms-openai==0.3.44
llama-index-llms-openai-like==0.3.4
llama-index-llms-openai==0.4.0
llama-index-llms-openai-like==0.4.0
llama-index-llms-openvino==0.4.0
llama-index-postprocessor-openvino-rerank==0.4.1
llama-index-readers-file==0.4.7
Expand Down
2 changes: 1 addition & 1 deletion HybridRAG/docker_image_build/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ services:
context: ../
dockerfile: ./Dockerfile
image: ${REGISTRY:-opea}/hybridrag:${TAG:-latest}
text2cypher:
text2cypher-gaudi:
build:
context: GenAIComps
dockerfile: comps/text2cypher/src/Dockerfile.intel_hpu
Expand Down
2 changes: 1 addition & 1 deletion HybridRAG/tests/test_compose_on_gaudi.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ function build_docker_images() {
cd ../

echo "Build all the images with --no-cache, check docker_image_build.log for details..."
service_list="hybridrag hybridrag-ui dataprep retriever text2cypher vllm nginx"
service_list="hybridrag hybridrag-ui dataprep retriever text2cypher-gaudi vllm nginx"
docker compose -f build.yaml build ${service_list} --no-cache > ${LOG_PATH}/docker_image_build.log 2>&1

docker images && sleep 1s
Expand Down
Loading