mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-12-24 13:28:13 +08:00
[CI] fix apt_sources error of focal in docker_build (#4961)
* [CI] fix * [CI] fix apt_sources error of focal in docker_build
This commit is contained in:
20
.github/workflows/ci_image_update.yml
vendored
20
.github/workflows/ci_image_update.yml
vendored
@@ -137,26 +137,6 @@ jobs:
|
|||||||
FASTDEPLOY_WHEEL_URL: ${{ needs.build_sm8090.outputs.wheel_path }}
|
FASTDEPLOY_WHEEL_URL: ${{ needs.build_sm8090.outputs.wheel_path }}
|
||||||
MODEL_CACHE_DIR: "/ssd2/actions-runner/ModelData"
|
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:
|
publish_pre_check:
|
||||||
name: Publish Docker Images Pre Check
|
name: Publish Docker Images Pre Check
|
||||||
|
|||||||
@@ -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
|
&& tar xf MLNX_OFED_LINUX-24.10-3.2.5.0-ubuntu20.04-x86_64.tgz
|
||||||
|
|
||||||
RUN rm -f /etc/apt/sources.list \
|
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 \
|
RUN cd MLNX_OFED_LINUX-24.10-3.2.5.0-ubuntu20.04-x86_64 \
|
||||||
&& apt clean \
|
&& apt clean \
|
||||||
|
|||||||
Reference in New Issue
Block a user