Skip to content

ci(packaging): enable el10 and deb13 for the lib - #377

Merged
Nivoky merged 1 commit into
developfrom
MON-206776-enh-ci-lib-el10-trixie-packaging
Aug 11, 2026
Merged

ci(packaging): enable el10 and deb13 for the lib#377
Nivoky merged 1 commit into
developfrom
MON-206776-enh-ci-lib-el10-trixie-packaging

Conversation

@Nivoky

@Nivoky Nivoky commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

Fixes: MON-206776 CTOR-2410

Part 1 of 2. Part 2 is #376, which enables the connectors themselves and must merge after this one.

Description

Building the Centreon 26.09 AMI on AlmaLinux 10 fails because no centreon-stream-connector-* package exists for el10. el10 and trixie were enabled by #339, then commented out by #357 because the Centreon 26.10 repositories were not published yet. They now exist for both distributions.

This PR re-enables them for centreon-stream-connectors-lib only, in the package, test and deliver matrices of stream-connectors-lib.yml.

Why the library has to go first

The connectors test job installs the connector package built in its own run, but resolves centreon-stream-connectors-lib from the published repositories. The el10 and trixie libraries published today are stale, because delivery to them has been off since #357:

  • el10 - centreon-stream-connectors-lib-3.8.0-1.el10 was built on 2026-05-05, before ab81407 (enh(dependencies): package missing lua dependencies #363) changed google/auth/oauth.lua from require("crypto") to require("openssl"). Connector tests fail with module 'crypto' not found.
  • trixie - centreon-stream-connectors-lib 3.8.0-1~trixie declares Depends: ... lua5.3 and installs under /usr/share/lua/5.3/. It pulls lua5.3 into the test container, while lua-curl, lua-cffi and lua-openssl for trixie are all built for 5.4, so every connector loading one of them fails with module not found. It also still declares centreon-broker-core (>= 24.10.0) and lacks lua-lsqlite3.

Merging this PR publishes a current library to el10 and trixie unstable, which unblocks #376.

apt suite fix

.github/actions/test-packages emitted the aggregated <distrib>-<version>-testing suite, which is not published for trixie: only testing-release and testing-hotfix exist, so apt-get update failed on a 404. The action now emits both suites, consistent with the rpm branch of the same action. bookworm has all three, so it is unaffected.

Verification

The stream-connectors-lib workflow already ran green on this exact change (as part of #376's branch): package el10, package trixie, test packages on rpm el10 and test packages on deb trixie all passed. That workflow tests the library it just built, which is why it succeeds where the connectors workflow does not.

actionlint and yamllint 1.35.1 pass locally with the CI flags and ruleset.

Notes for reviewers

  • stream-connectors.yml is untouched here, so the connectors workflow does not run on this PR.
  • The fresh packages carry the same version as the stale ones (3.8.0-1.el10, 3.8.0-1~trixie), so they replace them in place in Artifactory.

The Centreon 26.09 AMI build on AlmaLinux 10 fails because no
centreon-stream-connector-* package exists for el10. el10 and trixie
were disabled when the install/uninstall test job was added, because
the Centreon 26.10 repositories were not published yet. They now
exist for both distributions.

Re-enable them for centreon-stream-connectors-lib first, separately
from the connectors themselves. The connectors test job resolves the
library from the published repositories, and the el10 and trixie
libraries currently published are stale: the el10 one predates the
switch from require("crypto") to require("openssl") in the google
oauth module, and the trixie one was built when the packaging image
still had lua 5.3, so it installs under /usr/share/lua/5.3 and pulls
lua5.3 in while lua-curl, lua-cffi and lua-openssl are built for 5.4.
Delivering a fresh library is therefore a prerequisite for enabling
the connectors.

Debian 13 also needs an apt suite fix: the aggregated
<distrib>-<version>-testing suite is not published for trixie, which
only has testing-release and testing-hotfix. Use those instead,
consistent with the rpm branch of the same action, otherwise
apt-get update fails on a 404.

Refs: MON-206776

Assisted-by: Claude Code (claude-opus-5)
@Nivoky
Nivoky requested a review from a team as a code owner August 10, 2026 16:16
@Nivoky
Nivoky requested review from Tpo76 and kduret and removed request for a team August 10, 2026 16:16
@Nivoky
Nivoky merged commit a1b8c84 into develop Aug 11, 2026
26 checks passed
@Nivoky
Nivoky deleted the MON-206776-enh-ci-lib-el10-trixie-packaging branch August 11, 2026 08:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants