Skip to content

Commit 66581fd

Browse files
jmufccaffy
authored andcommitted
stop building for EL-7
1 parent 12f4136 commit 66581fd

File tree

3 files changed

+4
-20
lines changed

3 files changed

+4
-20
lines changed

.gitlab-ci.yml

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
stages:
22
- build:rpm
33
- publish
4-
4+
55
.build_eos-exporter-template: &build_eos-exporter_definition
66
stage: build:rpm
77
script:
@@ -15,23 +15,6 @@ stages:
1515
- ${CI_JOB_NAME}_artifacts
1616
expire_in: 1 week
1717

18-
el-7:
19-
image: gitlab-registry.cern.ch/linuxsupport/cc7-base
20-
stage: build:rpm
21-
script:
22-
- yum-config-manager --save --setopt=epel.baseurl=https://linuxsoft.cern.ch/internal/archive/epel/7/x86_64/
23-
- yum install -y sudo sssd-client createrepo tree
24-
- tree
25-
- yum install -y golang rpm-devel rpm-build make rpmdevtools sudo createrepo git
26-
- make rpm
27-
- mkdir -p ${CI_JOB_NAME}_artifacts
28-
- cp --recursive rpmbuild/SRPMS/ ${CI_JOB_NAME}_artifacts
29-
- cp --recursive rpmbuild/RPMS/ ${CI_JOB_NAME}_artifacts
30-
artifacts:
31-
paths:
32-
- ${CI_JOB_NAME}_artifacts
33-
expire_in: 1 week
34-
3518
el-8:
3619
image: gitlab-registry.cern.ch/linuxsupport/alma8-base
3720
variables:
@@ -53,7 +36,6 @@ rpm_artifacts:
5336
- tree
5437
- sudo -u stci -H ./gitlab-ci/publish_rpms.sh
5538
needs:
56-
- job: el-7
5739
- job: el-8
5840
- job: el-9
5941
tags:

eos_exporter.spec

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ rm -rf %buildroot/
6060
%changelog
6161
* Wed Aug 20 2025 Pablo Medina Ramos <[email protected]> 0.1.15-1
6262
- Adding namespace cache hit rate metrics.
63+
- remove obsolete StandardOutput= from systemd unit file
64+
- stop building for el7
6365
* Wed Oct 16 2024 Maria Arsuaga Rios <[email protected]> 0.1.14-1
6466
- Adding EC categories for fsck
6567
* Wed Aug 21 2024 Hugo Gonzalez Labrador <[email protected]> 0.1.13-1

gitlab-ci/publish_rpms.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export STCI_ROOT_PATH="/eos/project/s/storage-ci/www"
55
echo "Exporting EOS_CODENAME=eos-monitoring"
66
export EOS_CODENAME="eos-monitoring"
77

8-
for BUILD_TYPE in "el-7" "el-8" "el-9"; do
8+
for BUILD_TYPE in "el-8" "el-9"; do
99
EXPORT_DIR_RPMS=${STCI_ROOT_PATH}/${EOS_CODENAME}/${BUILD_TYPE}/x86_64/
1010
EXPORT_DIR_SRPMS=${STCI_ROOT_PATH}/${EOS_CODENAME}/${BUILD_TYPE}/SRPMS/
1111
echo "Publishing for: ${BUILD_TYPE} in location: ${EXPORT_DIR_RPMS}"

0 commit comments

Comments
 (0)