Skip to content

Commit 489c289

Browse files
authored
Revert "fix(ci): try to add different mirrors to avoid 403 issues" (#5555)
Revert "fix(ci): try to add different mirrors to avoid 403 issues (#5554)" This reverts commit 7c9f011.
1 parent ac5fb50 commit 489c289

File tree

2 files changed

+0
-28
lines changed

2 files changed

+0
-28
lines changed

.github/workflows/release.yaml

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -150,20 +150,6 @@ jobs:
150150
cache: false
151151
- name: Dependencies
152152
run: |
153-
## XXX: This is a workaround to fix the build failure due to the network issues
154-
# Configure apt to use French mirrors and add retry logic
155-
echo 'Acquire::Retries "3";' | sudo tee /etc/apt/apt.conf.d/80-retries
156-
echo 'Acquire::http::Timeout "120";' | sudo tee -a /etc/apt/apt.conf.d/80-retries
157-
echo 'Acquire::https::Timeout "120";' | sudo tee -a /etc/apt/apt.conf.d/80-retries
158-
echo 'Acquire::ftp::Timeout "120";' | sudo tee -a /etc/apt/apt.conf.d/80-retries
159-
160-
# Add French mirrors
161-
echo 'deb http://fr.archive.ubuntu.com/ubuntu/ jammy main restricted universe multiverse' | sudo tee /etc/apt/sources.list
162-
echo 'deb http://fr.archive.ubuntu.com/ubuntu/ jammy-updates main restricted universe multiverse' | sudo tee -a /etc/apt/sources.list
163-
echo 'deb http://fr.archive.ubuntu.com/ubuntu/ jammy-backports main restricted universe multiverse' | sudo tee -a /etc/apt/sources.list
164-
echo 'deb http://fr.archive.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse' | sudo tee -a /etc/apt/sources.list
165-
## END of workaround
166-
167153
sudo apt-get update
168154
sudo apt-get install -y wget curl build-essential ffmpeg protobuf-compiler ccache upx-ucl gawk cmake libgmock-dev
169155
make install-go-tools

Dockerfile

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -17,20 +17,6 @@ ARG TARGETVARIANT
1717
ENV DEBIAN_FRONTEND=noninteractive
1818
ENV EXTERNAL_GRPC_BACKENDS="coqui:/build/backend/python/coqui/run.sh,transformers:/build/backend/python/transformers/run.sh,rerankers:/build/backend/python/rerankers/run.sh,bark:/build/backend/python/bark/run.sh,diffusers:/build/backend/python/diffusers/run.sh,faster-whisper:/build/backend/python/faster-whisper/run.sh,kokoro:/build/backend/python/kokoro/run.sh,vllm:/build/backend/python/vllm/run.sh,exllama2:/build/backend/python/exllama2/run.sh,chatterbox:/build/backend/python/chatterbox/run.sh"
1919

20-
## XXX: This is a workaround to fix the build failure due to the network issues
21-
# Add retry logic for apt-get
22-
RUN echo 'Acquire::Retries "3";' > /etc/apt/apt.conf.d/80-retries && \
23-
echo 'Acquire::http::Timeout "120";' >> /etc/apt/apt.conf.d/80-retries && \
24-
echo 'Acquire::https::Timeout "120";' >> /etc/apt/apt.conf.d/80-retries && \
25-
echo 'Acquire::ftp::Timeout "120";' >> /etc/apt/apt.conf.d/80-retries
26-
27-
# Add multiple mirrors to distribute load
28-
RUN echo 'deb http://fr.archive.ubuntu.com/ubuntu/ jammy main restricted universe multiverse' >> /etc/apt/sources.list && \
29-
echo 'deb http://fr.archive.ubuntu.com/ubuntu/ jammy-updates main restricted universe multiverse' >> /etc/apt/sources.list && \
30-
echo 'deb http://fr.archive.ubuntu.com/ubuntu/ jammy-backports main restricted universe multiverse' >> /etc/apt/sources.list && \
31-
echo 'deb http://fr.archive.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse' >> /etc/apt/sources.list
32-
## END of workaround
33-
3420
RUN apt-get update && \
3521
apt-get install -y --no-install-recommends \
3622
build-essential \

0 commit comments

Comments
 (0)