From 18e2cc9035a4857468f979a3787b76263c631998 Mon Sep 17 00:00:00 2001 From: Andrei Kashchikhin Date: Tue, 3 Dec 2024 15:42:35 +0000 Subject: [PATCH 1/2] add retries and timeouts, use dnf --- .github/dockerfiles/ov_build/fedora_29/Dockerfile | 6 +++++- .github/dockerfiles/ov_test/fedora_33/Dockerfile | 6 +++++- .github/workflows/fedora_29.yml | 4 ++-- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/.github/dockerfiles/ov_build/fedora_29/Dockerfile b/.github/dockerfiles/ov_build/fedora_29/Dockerfile index e5f400e2915e9c..0b9911ac707b13 100644 --- a/.github/dockerfiles/ov_build/fedora_29/Dockerfile +++ b/.github/dockerfiles/ov_build/fedora_29/Dockerfile @@ -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 \ diff --git a/.github/dockerfiles/ov_test/fedora_33/Dockerfile b/.github/dockerfiles/ov_test/fedora_33/Dockerfile index c059c82c7d3cf2..39abe454ff3847 100644 --- a/.github/dockerfiles/ov_test/fedora_33/Dockerfile +++ b/.github/dockerfiles/ov_test/fedora_33/Dockerfile @@ -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 diff --git a/.github/workflows/fedora_29.yml b/.github/workflows/fedora_29.yml index f3b101327f76dc..df5ec4f57ca030 100644 --- a/.github/workflows/fedora_29.yml +++ b/.github/workflows/fedora_29.yml @@ -129,10 +129,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 From 8e72e1122beae15488279c308e9bc8bbb90ec058 Mon Sep 17 00:00:00 2001 From: Andrei Kashchikhin Date: Tue, 3 Dec 2024 15:45:38 +0000 Subject: [PATCH 2/2] change docker tag --- .github/dockerfiles/docker_tag | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/dockerfiles/docker_tag b/.github/dockerfiles/docker_tag index 3783a7e8d5600a..1dc77e89521bfe 100644 --- a/.github/dockerfiles/docker_tag +++ b/.github/dockerfiles/docker_tag @@ -1 +1 @@ -pr-27430 +pr-27882