Skip to content

[th/gitlab-ci-no-centos-linux-8] gitlab-ci: drop builds for CentOS 8 (8.1.1911, 8.2.2004, 8.3.2011)

Thomas Haller requested to merge th/gitlab-ci-no-centos-linux-8 into main

CentOS Linux 8 is long gone. We were only running tests on this old build environment, to see how we fare in such environment.

The test was broken for 4+ months. Instead of fixing it, disable it.

It's partly caused by RHEL8, as it is somewhat cumbersome to even build on CentOS 8. That's because some devel packages (like libteam-devel) are not installable. As workaround for that, we re-build such packages in a copr ([1]). The problem is, that we only have one copr build for e.g. CentOS 8. If we rebuild against latest CentOS 8 Stream, then libteam is build against newer dependencies, which are not installable on CentOS Linux 8.1.1911 (etc). We would have to build libteam in a way, that does not drag newer dependencies that are missing on CentOS Linux 8.

For example, trying to use copr [1] on CentOS Linux 8 and installing "teamd" gives:

  Error:
   Problem: package teamd-devel-1.31-4.el8.x86_64 requires teamd = 1.31-4.el8, but none of the providers can be installed
    - conflicting requests
    - nothing provides libjansson.so.4(libjansson.so.4)(64bit) needed by teamd-1.31-4.el8.x86_64

This could be hacked around, for example by having libteamd-devel not depend on any teamd package. Instead, just drop it. It's gone.

Arguable, CentOS 8 Stream should be reasonably close (in terms of versions of gcc, glibc, glib) so we don't miss too much.

[1] https://copr.fedorainfracloud.org/coprs/nmstate/nm-build-deps/

Merge request reports