Skip to content

Commit

Permalink
[CI] Drop CentOS 7 builds from GitLab CI
Browse files Browse the repository at this point in the history
  • Loading branch information
amadio committed Dec 15, 2024
1 parent cfe4e9d commit b47dd48
Showing 1 changed file with 0 additions and 33 deletions.
33 changes: 0 additions & 33 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,35 +25,6 @@ default:
paths: [ DEB ]
expire_in: 1d

.rpm_build_yum: &rpm_build_yum
stage: build
script:
- |
sed -i -e '/mirrorlist/d' \
-e 's/# \?baseurl=/baseurl=/g' \
-e 's/mirror.centos.org/vault.centos.org/g' \
-e 's/$releasever/7.9.2009/g' \
/etc/yum.repos.d/*.repo
- yum install -y centos-release-scl epel-release git
- |
sed -i -e '/mirrorlist/d' \
-e 's/# \?baseurl=/baseurl=/g' \
-e 's/mirror.centos.org/vault.centos.org/g' \
-e 's/$releasever/7.9.2009/g' \
/etc/yum.repos.d/*.repo
- yum install -y epel-rpm-macros rpmdevtools yum-utils
- yum-builddep -y xrootd.spec
- rpmdev-setuptree
- git archive --prefix xrootd/ -o $(rpm -E '%{_sourcedir}')/xrootd.tar.gz HEAD
- rpmbuild -bb --with git xrootd.spec
- yum install -y $(rpm -E '%{_rpmdir}')/*/*.rpm
- tests/post-install.sh
- mkdir -p RPMS
- mv $(rpm -E '%{_rpmdir}')/*/*.rpm RPMS/
artifacts:
paths: [ RPMS ]
expire_in: 1d

.rpm_build_dnf: &rpm_build_dnf
stage: build
script:
Expand Down Expand Up @@ -86,10 +57,6 @@ Ubuntu 24.04:
image: ubuntu:24.04
<<: *deb_build

CentOS 7:
image: centos:7
<<: *rpm_build_yum

AlmaLinux 8:
image: almalinux:8
before_script:
Expand Down

0 comments on commit b47dd48

Please sign in to comment.