laforge has submitted this change. ( 
https://gerrit.osmocom.org/c/osmo-ci/+/42939?usp=email )

Change subject: OBS: build_binpkg: adjust for new almalinux repo
......................................................................

OBS: build_binpkg: adjust for new almalinux repo

We are enabling CentOS 8 compatible repositories again for very few
packages. The URL for the package feed is now AlmaLinux_8 instead of
CentOS_8, because AlmaLinux 8 is not EOL yet and seems to work best with
OBS of the CentOS 8 compatible distros.

Related: SYS#8110
Change-Id: I3e9f44f200cdbe28fa4cd21f54b81d73fa543075
---
M scripts/obs/data/build_binpkg.Dockerfile
1 file changed, 11 insertions(+), 1 deletion(-)

Approvals:
  fixeria: Looks good to me, but someone else must approve
  laforge: Looks good to me, approved
  Jenkins Builder: Verified




diff --git a/scripts/obs/data/build_binpkg.Dockerfile 
b/scripts/obs/data/build_binpkg.Dockerfile
index a86d48b..a18d0e8 100644
--- a/scripts/obs/data/build_binpkg.Dockerfile
+++ b/scripts/obs/data/build_binpkg.Dockerfile
@@ -95,7 +95,7 @@
                echo "deb [signed-by=/usr/share/keyrings/osmocom.asc] 
https://downloads.osmocom.org/packages/osmocom:/$FEED/xUbuntu_$VERSION/ ./" \
                        > /etc/apt/sources.list.d/osmocom-$FEED.list \
                ;; \
-       almalinux:*|centos:*) \
+       centos:7) \
                { echo "[network_osmocom_$FEED]"; \
                  echo "name=osmocom:$FEED"; \
                  echo "type=rpm-md"; \
@@ -105,6 +105,16 @@
                  echo "enabled=1"; \
                } > /etc/yum.repos.d/network:osmocom:$FEED.repo \
                ;; \
+       almalinux:8) \
+               { echo "[network_osmocom_$FEED]"; \
+                 echo "name=osmocom:$FEED"; \
+                 echo "type=rpm-md"; \
+                 echo 
"baseurl=https://downloads.osmocom.org/packages/osmocom:/$FEED/AlmaLinux_8/";; \
+                 echo "gpgcheck=1"; \
+                 echo 
"gpgkey=https://downloads.osmocom.org/packages/osmocom:/$FEED/AlmaLinux_8/repodata/repomd.xml.key";;
 \
+                 echo "enabled=1"; \
+               } > /etc/yum.repos.d/network:osmocom:$FEED.repo \
+               ;; \
        *) \
                echo "can't install repo for $DISTRO" && \
                exit 1 \

--
To view, visit https://gerrit.osmocom.org/c/osmo-ci/+/42939?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings?usp=email

Gerrit-MessageType: merged
Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: I3e9f44f200cdbe28fa4cd21f54b81d73fa543075
Gerrit-Change-Number: 42939
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <[email protected]>
Gerrit-Reviewer: laforge <[email protected]>

Reply via email to