@cryptotaxi247 / netdata-1 / commits / 7088abee4

Update platforms for CI and package builds. (#20119)

* Update platforms for CI and package builds. Add the following platforms: - Alpine 3.21 - CentOS Stream 10 - Fedora 42 (upstream release date 2025-04-15) - Ubuntu 25.04 (upstream release date 2025-04-17) * Pull in AWK as a dependency (some newer Docker images lack it). * Enable CRB repository on CentOS 10. * Drop Fedora 42 from CI. It will be handled in a separate PR instead.

Austin S. Hemmelgarn committed Apr 23, 2025 at 10:14 UTC 7088abee4090f3b5bc39ad4dc3996870f062679d
2 files changed +28 -6
.github/data/distros.yml
+19 -3
@@ -76,6 +76,11 @@ include:
76 apk del json-c-dev
77 test:
78 ebpf-core: true
79 + - <<: *alpine
80 + version: "3.21"
81 + support_type: Core
82 + notes: ''
83 + eol_check: true
84 - <<: *alpine
85 version: "3.20"
86 support_type: Core
@@ -141,8 +146,8 @@ include:
146
147 - &centos_stream
148 distro: centos-stream
144 - base_image: 'quay.io/centos/centos:stream9'
145 - version: '9'
149 + base_image: 'quay.io/centos/centos:stream10'
150 + version: '10'
151 support_type: 'Community'
152 notes: ''
153 jsonc_removal: |
@@ -151,13 +156,19 @@ include:
156 bundle_sentry: *default_sentry
157 packages: &cs_packages
158 type: rpm
154 - repo_distro: el/c9s
159 + repo_distro: el/c10s
160 builder_rev: *def_builder_rev
161 arches:
162 - x86_64
163 - aarch64
164 test:
165 ebpf-core: true
166 + - <<: *centos_stream
167 + base_image: 'quay.io/centos/centos:stream9'
168 + version: '9'
169 + packages:
170 + <<: *cs_packages
171 + repo_distro: el/c9s
172
173 - &debian
174 distro: debian
@@ -319,6 +330,11 @@ include:
330 - arm64
331 test:
332 ebpf-core: true
333 + - <<: *ubuntu
334 + version: "25.04"
335 + packages:
336 + <<: *ubuntu_packages
337 + repo_distro: ubuntu/plucky
338 - <<: *ubuntu
339 version: "24.10"
340 packages:
packaging/installer/install-required-packages.sh
+9 -3
@@ -631,6 +631,11 @@ declare -A pkg_find=(
631 ['default']="WARNING|"
632 )
633
634 +declare -A pkg_awk=(
635 + ['gentoo']="app-alternatives/awk"
636 + ['default']="gawk"
637 +)
638 +
639 declare -A pkg_distro_sdk=(
640 ['alpine']="alpine-sdk"
641 ['centos']="kernel-headers"
@@ -1220,6 +1225,7 @@ packages() {
1225
1226 require_cmd git || suitable_package git
1227 require_cmd find || suitable_package find
1228 + require_cmd awk || suitable_package awk
1229
1230 require_cmd gcc || require_cmd clang ||
1231 require_cmd gcc-multilib || suitable_package gcc
@@ -1481,7 +1487,7 @@ validate_tree_centos() {
1487
1488 echo >&2 " > CentOS Version: ${version} ..."
1489
1484 - if [[ "${version}" =~ ^9(\..*)?$ ]]; then
1490 + if [[ "${version}" =~ ^(9|10)(\..*)?$ ]]; then
1491 echo >&2 " > Checking for config-manager ..."
1492 if ! run ${sudo} dnf config-manager --help; then
1493 if prompt "config-manager not found, shall I install it?"; then
@@ -1492,7 +1498,7 @@ validate_tree_centos() {
1498
1499 echo >&2 " > Checking for CRB ..."
1500 # shellcheck disable=2086
1495 - if ! run dnf ${sudo} repolist | grep CRB; then
1501 + if ! run ${sudo} dnf repolist | grep CRB; then
1502 if prompt "CRB not found, shall I install it?"; then
1503 # shellcheck disable=2086
1504 run ${sudo} dnf ${opts} config-manager --set-enabled crb
@@ -1509,7 +1515,7 @@ validate_tree_centos() {
1515
1516 echo >&2 " > Checking for PowerTools ..."
1517 # shellcheck disable=2086
1512 - if ! run yum ${sudo} repolist | grep PowerTools; then
1518 + if ! run ${sudo} yum repolist | grep PowerTools; then
1519 if prompt "PowerTools not found, shall I install it?"; then
1520 # shellcheck disable=2086
1521 run ${sudo} yum ${opts} config-manager --set-enabled powertools