ci(packaging): enable el10 and deb13 for the lib - #377
Merged
Conversation
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)
kduret
approved these changes
Aug 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.el10andtrixiewere 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-libonly, in the package, test and deliver matrices ofstream-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-libfrom the published repositories. The el10 and trixie libraries published today are stale, because delivery to them has been off since #357:centreon-stream-connectors-lib-3.8.0-1.el10was built on 2026-05-05, beforeab81407(enh(dependencies): package missing lua dependencies #363) changedgoogle/auth/oauth.luafromrequire("crypto")torequire("openssl"). Connector tests fail withmodule 'crypto' not found.centreon-stream-connectors-lib 3.8.0-1~trixiedeclaresDepends: ... lua5.3and installs under/usr/share/lua/5.3/. It pullslua5.3into the test container, whilelua-curl,lua-cffiandlua-opensslfor trixie are all built for 5.4, so every connector loading one of them fails withmodule not found. It also still declarescentreon-broker-core (>= 24.10.0)and lackslua-lsqlite3.Merging this PR publishes a current library to el10 and trixie unstable, which unblocks #376.
apt suite fix
.github/actions/test-packagesemitted the aggregated<distrib>-<version>-testingsuite, which is not published for trixie: onlytesting-releaseandtesting-hotfixexist, soapt-get updatefailed on a 404. The action now emits both suites, consistent with the rpm branch of the same action.bookwormhas all three, so it is unaffected.Verification
The
stream-connectors-libworkflow already ran green on this exact change (as part of #376's branch):package el10,package trixie,test packages on rpm el10andtest packages on deb trixieall passed. That workflow tests the library it just built, which is why it succeeds where the connectors workflow does not.actionlintandyamllint1.35.1 pass locally with the CI flags and ruleset.Notes for reviewers
stream-connectors.ymlis untouched here, so the connectors workflow does not run on this PR.3.8.0-1.el10,3.8.0-1~trixie), so they replace them in place in Artifactory.