Skip to content

Commit

Permalink
[CI] [GHA] Add retries and timeout for Fedora, use dnf (#27882)
Browse files Browse the repository at this point in the history
### Details:
- Should mitigate things like in
https://github.com/openvinotoolkit/openvino/actions/runs/12081540979/job/33691617750

### Tickets:
 - *158474*

---------

Co-authored-by: Mikhail Ryzhov <[email protected]>
  • Loading branch information
akashchi and mryzhov authored Dec 19, 2024
1 parent 19e7dae commit dac42a9
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/dockerfiles/docker_tag
Original file line number Diff line number Diff line change
@@ -1 +1 @@
pr-27597
pr-27882
6 changes: 5 additions & 1 deletion .github/dockerfiles/ov_build/fedora_29/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@ FROM ${REGISTRY}/library/fedora:29

USER root

RUN yum update -y && yum install -y \
# dnf configuration
RUN echo "timeout=60" >> /etc/dnf/dnf.conf && \
echo "retries=10" >> /etc/dnf/dnf.conf

RUN dnf update -y && dnf install -y \
git \
curl \
python3 \
Expand Down
6 changes: 5 additions & 1 deletion .github/dockerfiles/ov_test/fedora_33/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@ FROM ${REGISTRY}/library/fedora:33

USER root

RUN yum update -y && yum install -y \
# dnf configuration
RUN echo "timeout=60" >> /etc/dnf/dnf.conf && \
echo "retries=10" >> /etc/dnf/dnf.conf

RUN dnf update -y && dnf install -y \
git \
curl \
python3 \
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/fedora_29.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,10 +131,10 @@ jobs:
# install previous release version
mv /tmp/openvino-2023.repo /etc/yum.repos.d
yum install -y openvino
dnf install -y openvino
# install current version
yum install --allowerasing -y *.rpm
dnf install --allowerasing -y *.rpm
working-directory: ${{ env.RPM_PACKAGES_DIR }}

- name: Test RPM packages
Expand Down

0 comments on commit dac42a9

Please sign in to comment.