From 4c911ecb742bcf67b438f45fa3a8a13c3313f865 Mon Sep 17 00:00:00 2001 From: YuBaoku <49938469+EmmonsCurse@users.noreply.github.com> Date: Tue, 11 Nov 2025 20:35:06 +0800 Subject: [PATCH] [CI] fix apt_sources error of focal in docker_build (#4961) * [CI] fix * [CI] fix apt_sources error of focal in docker_build --- .github/workflows/ci_image_update.yml | 20 -------------------- tools/dockerfile/Dockerfile.ci | 2 +- 2 files changed, 1 insertion(+), 21 deletions(-) diff --git a/.github/workflows/ci_image_update.yml b/.github/workflows/ci_image_update.yml index 943d24f0c..10799a14a 100644 --- a/.github/workflows/ci_image_update.yml +++ b/.github/workflows/ci_image_update.yml @@ -137,26 +137,6 @@ jobs: FASTDEPLOY_WHEEL_URL: ${{ needs.build_sm8090.outputs.wheel_path }} MODEL_CACHE_DIR: "/ssd2/actions-runner/ModelData" - accuracy_test: - name: Run Accuracy Tests - needs: [clone,build_sm8090,ci_image_build] - uses: ./.github/workflows/_accuracy_test.yml - with: - DOCKER_IMAGE: ${{ needs.ci_image_build.outputs.docker_name_precheck }} - FASTDEPLOY_ARCHIVE_URL: ${{ needs.clone.outputs.repo_archive_url }} - FASTDEPLOY_WHEEL_URL: ${{ needs.build_sm8090.outputs.wheel_path }} - MODEL_CACHE_DIR: "/ssd2/actions-runner/ModelData" - - stable_test: - name: Run Stable Tests - needs: [clone,build_sm8090,ci_image_build] - uses: ./.github/workflows/_stable_test.yml - with: - DOCKER_IMAGE: ${{ needs.ci_image_build.outputs.docker_name_precheck }} - FASTDEPLOY_ARCHIVE_URL: ${{ needs.clone.outputs.repo_archive_url }} - FASTDEPLOY_WHEEL_URL: ${{ needs.build_sm8090.outputs.wheel_path }} - MODEL_CACHE_DIR: "/ssd2/actions-runner/ModelData" - publish_pre_check: name: Publish Docker Images Pre Check diff --git a/tools/dockerfile/Dockerfile.ci b/tools/dockerfile/Dockerfile.ci index d643bf346..bbb70bbae 100644 --- a/tools/dockerfile/Dockerfile.ci +++ b/tools/dockerfile/Dockerfile.ci @@ -11,7 +11,7 @@ RUN wget -q --no-proxy https://paddle-qa.bj.bcebos.com/FastDeploy/MLNX_OFED_LINU && tar xf MLNX_OFED_LINUX-24.10-3.2.5.0-ubuntu20.04-x86_64.tgz RUN rm -f /etc/apt/sources.list \ - && echo "deb http://archive.ubuntu.com/ubuntu jammy main restricted universe multiverse\ndeb http://archive.ubuntu.com/ubuntu jammy-updates main restricted universe multiverse\ndeb http://archive.ubuntu.com/ubuntu jammy-security main restricted universe multiverse" | tee /etc/apt/sources.list > /dev/null + && echo "deb http://archive.ubuntu.com/ubuntu focal main restricted universe multiverse\ndeb http://archive.ubuntu.com/ubuntu focal-updates main restricted universe multiverse\ndeb http://archive.ubuntu.com/ubuntu focal-security main restricted universe multiverse" | tee /etc/apt/sources.list > /dev/null RUN cd MLNX_OFED_LINUX-24.10-3.2.5.0-ubuntu20.04-x86_64 \ && apt clean \