From 7680f14cc2da97b8c14eb18d1cdb424d53f71f08 Mon Sep 17 00:00:00 2001 From: Russell Standish Date: Sun, 5 Jan 2025 15:05:51 +1100 Subject: [PATCH] Revised Fedora OBS check, and removed EOLed distros. --- obsCheck/Dockerfile-fedora | 6 ++++-- obsCheck/smokeTest.sh | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/obsCheck/Dockerfile-fedora b/obsCheck/Dockerfile-fedora index bca371a7d..1837d5c8f 100644 --- a/obsCheck/Dockerfile-fedora +++ b/obsCheck/Dockerfile-fedora @@ -3,8 +3,10 @@ FROM fedora:$version ARG project=minsky ARG version ADD . /root -RUN dnf install -y 'dnf-command(config-manager)' util-linux -RUN dnf config-manager --add-repo https://download.opensuse.org/repositories/home:hpcoder1/Fedora_$version/home:hpcoder1.repo +#RUN dnf install -y 'dnf-command(config-manager)' util-linux +RUN dnf install -y yum-config-manager util-linux +#RUN dnf config-manager add-repo --from-repofile=https://download.opensuse.org/repositories/home:/hpcoder1/Fedora_$version/home:hpcoder1.repo +RUN yum-config-manager --add-repo=https://download.opensuse.org/repositories/home:/hpcoder1/Fedora_$version/home:hpcoder1.repo RUN dnf install -y $project RUN useradd -m minsky RUN su - minsky -c "minsky --version --no-sandbox" diff --git a/obsCheck/smokeTest.sh b/obsCheck/smokeTest.sh index 367968457..b11bf2d81 100755 --- a/obsCheck/smokeTest.sh +++ b/obsCheck/smokeTest.sh @@ -11,7 +11,7 @@ for i in Dockerfile-*[^~]; do case $i in Dockerfile-debian) versions="11 12";; Dockerfile-ubuntu) versions="22.04 24.04 24.10";; - Dockerfile-fedora) versions="37 38 39 40";; + Dockerfile-fedora) versions="40 41";; Dockerfile-leap) versions="15.4 15.5";; *) versions=default;; esac