docs: update architecture.yml for AlmaLinux 10 support

- Remove CentOS 7 (EOL, inaccessible repositories)
- Remove Rocky Linux 10 (not available, use AlmaLinux 10 instead)
- Add AlmaLinux 10 to supported distributions
- Update packaging stages and verification commands

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
This commit is contained in:
Jacquin Antoine
2026-02-28 20:59:27 +01:00
parent 439e18c70d
commit 5f97af3627

View File

@ -48,10 +48,9 @@ runtime:
WantedBy=multi-user.target
os:
supported:
- centos-7
- rocky-linux-8+
- rocky-linux-9+
- rocky-linux-10+
- rocky-linux-8
- rocky-linux-9
- almalinux-10
- autres-linux-recentes
logs:
stdout_stderr: journald
@ -472,17 +471,15 @@ docker:
packaging:
description: >
logcorrelator est distribué sous forme de packages .rpm (CentOS 7, Rocky Linux/RHEL 8, 9, 10),
logcorrelator est distribué sous forme de packages .rpm (Rocky Linux 8, 9 et AlmaLinux 10),
construits intégralement dans Docker avec fpm.
formats:
- rpm
target_distros:
rpm:
- centos-7
- rocky-linux-8+
- rocky-linux-9+
- rocky-linux-10+
- rhel-7+
- rocky-linux-8
- rocky-linux-9
- almalinux-10
- rhel-8+
- rhel-9+
- rhel-10+
@ -494,22 +491,19 @@ packaging:
description: >
Compilation du binaire Go avec CGO_ENABLED=0 pour un binaire statique.
GOOS=linux GOARCH=amd64.
- name: rpm_centos7_builder
description: >
Construction du package RPM pour CentOS 7 (el7) avec fpm.
- name: rpm_rocky8_builder
description: >
Construction du package RPM pour Rocky Linux 8 (el8) avec fpm.
- name: rpm_rocky9_builder
description: >
Construction du package RPM pour Rocky Linux 9 (el9) avec fpm.
- name: rpm_rocky10_builder
- name: rpm_almalinux10_builder
description: >
Construction du package RPM pour Rocky Linux 10 (el10) avec fpm.
Construction du package RPM pour AlmaLinux 10 (el10) avec fpm.
- name: output
description: >
Image Alpine minimale contenant les packages dans
/packages/rpm/{centos7,rocky8,rocky9,rocky10}.
/packages/rpm/{rocky8,rocky9,almalinux10}.
files:
binary:
source: dist/logcorrelator
@ -540,14 +534,12 @@ packaging:
- systemd
verify:
rpm:
centos7:
command: docker run --rm -v $(pwd)/dist/rpm/centos7:/packages centos:7 sh -c "yum install -y /packages/*.rpm"
rocky8:
command: docker run --rm -v $(pwd)/dist/rpm/rocky8:/packages rockylinux:8 sh -c "dnf install -y /packages/*.rpm"
rocky9:
command: docker run --rm -v $(pwd)/dist/rpm/rocky9:/packages rockylinux:9 sh -c "dnf install -y /packages/*.rpm"
rocky10:
command: docker run --rm -v $(pwd)/dist/rpm/rocky10:/packages rockylinux:10 sh -c "dnf install -y /packages/*.rpm"
almalinux10:
command: docker run --rm -v $(pwd)/dist/rpm/almalinux10:/packages almalinux:10 sh -c "dnf install -y /packages/*.rpm"
non_functional:
performance: