Skip to content

Commit 03b9443

Browse files
committed
[CI] issue: HPCINFRA-4050 Replace webrepo address with geoDNS address
Replace webrepo.mtr.labs.mlnx with a geoDNS webrepo.gtm.nvidia.com to fix repository timeout issues. Signed-off-by: Noam Tsemah <[email protected]>
1 parent 9e1d79d commit 03b9443

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.ci/dockerfiles/Dockerfile.ol9.4

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,16 @@ ARG _UID=6213
66
ARG _GID=101
77
ARG _LOGIN=swx-jenkins
88
ARG _HOME=/var/home/$_LOGIN
9+
ARG WEBREPO_URL=webrepo.gtm.nvidia.com
10+
11+
# Debug and fix repository URLs
12+
RUN echo "=== Before replacement ===" && \
13+
grep -r "webrepo" /etc/yum.repos.d/ && \
14+
echo "=== Applying sed replacement ===" && \
15+
sed -i "s#webrepo.mtr.labs.mlnx#${WEBREPO_URL}#g" /etc/yum.repos.d/* && \
16+
echo "=== After replacement ===" && \
17+
grep -r "webrepo" /etc/yum.repos.d/ && \
18+
yum makecache
919

1020
RUN yum install yum-utils \
1121
&& yum-config-manager --add-repo https://dl.fedoraproject.org/pub/epel/9/Everything/aarch64/ \

0 commit comments

Comments
 (0)