Skip to content

Commit dac42a9

Browse files
akashchimryzhov
andauthored
[CI] [GHA] Add retries and timeout for Fedora, use dnf (openvinotoolkit#27882)
### Details: - Should mitigate things like in https://github.com/openvinotoolkit/openvino/actions/runs/12081540979/job/33691617750 ### Tickets: - *158474* --------- Co-authored-by: Mikhail Ryzhov <mikhail.ryzhov@intel.com>
1 parent 19e7dae commit dac42a9

File tree

4 files changed

+13
-5
lines changed

4 files changed

+13
-5
lines changed

.github/dockerfiles/docker_tag

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
pr-27597
1+
pr-27882

.github/dockerfiles/ov_build/fedora_29/Dockerfile

+5-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@ FROM ${REGISTRY}/library/fedora:29
33

44
USER root
55

6-
RUN yum update -y && yum install -y \
6+
# dnf configuration
7+
RUN echo "timeout=60" >> /etc/dnf/dnf.conf && \
8+
echo "retries=10" >> /etc/dnf/dnf.conf
9+
10+
RUN dnf update -y && dnf install -y \
711
git \
812
curl \
913
python3 \

.github/dockerfiles/ov_test/fedora_33/Dockerfile

+5-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@ FROM ${REGISTRY}/library/fedora:33
33

44
USER root
55

6-
RUN yum update -y && yum install -y \
6+
# dnf configuration
7+
RUN echo "timeout=60" >> /etc/dnf/dnf.conf && \
8+
echo "retries=10" >> /etc/dnf/dnf.conf
9+
10+
RUN dnf update -y && dnf install -y \
711
git \
812
curl \
913
python3 \

.github/workflows/fedora_29.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -131,10 +131,10 @@ jobs:
131131
132132
# install previous release version
133133
mv /tmp/openvino-2023.repo /etc/yum.repos.d
134-
yum install -y openvino
134+
dnf install -y openvino
135135
136136
# install current version
137-
yum install --allowerasing -y *.rpm
137+
dnf install --allowerasing -y *.rpm
138138
working-directory: ${{ env.RPM_PACKAGES_DIR }}
139139

140140
- name: Test RPM packages

0 commit comments

Comments
 (0)