Repository navigation
feat(ci): deliver and promote the packages on Pulp as well - #390
Merged
Merged
Conversation
Every packaging workflow gets a deliver-pulp job next to the Artifactory delivery: testing/unstable packages are uploaded to the pulp plugins repositories (el8/el9/el10, bullseye/bookworm/trixie; jammy/noble stay on Artifactory) and stable is a promotion of the testing packages, keyed on the release/hotfix branch of the merged pull request. get-environment now exposes release_type, which selects the testing-release or testing-hotfix repository. The pulp actions and scripts come from centreon-plugins. Refs: MON-209537
kduret
requested review from
Tpo76 and
pkriko
and removed request for
a team
September 15, 2026 11:29
The pulp jobs run on the internal runners, whose labels actionlint does not know; ignore them the way the other repositories do. Refs: MON-209537
Tpo76
previously approved these changes
Sep 15, 2026
Debian 11 is out of the debian-security archive: the bullseye packaging image can no longer install its build dependencies (404 on python3.9), so every package job failed and blocked all the deliveries of the workflow. Drop bullseye from the packaging, test, Artifactory and Pulp matrices and the unused packaging image. Refs: MON-209537
tuntoja
approved these changes
Sep 15, 2026
1 task done
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-209537
Description
Double delivery during the Artifactory-to-Pulp migration, as already done in centreon, centreon-collect, centreon-modules, centreon-plugins and centreon-plugin-packs. The packages of this repository land in Artifactory's
rpm-plugins/apt-plugins-*, so their Pulp home is thepluginsrepository family (no version segment, same as centreon-plugins).lua-*.yml,stream-connectors-lib.yml,stream-connectors.yml) gets adeliver-pulpjob next todeliver-rpm/deliver-deb, sameneedsand stability condition: testing/unstable packages are uploaded withpackage-delivery-pulp; onmaster(stable) the testing packages are promoted withpromote-to-stable-pulp, keyed on the release/hotfix branch of the merged pull request (same lookup as centreon-plugins). Matrix: el8, el9, el10, bookworm, trixie — the distributions the Pulppluginsrepositories cover; jammy/noble stay Artifactory-only, as for the plugins.package bullseyejob blocked every delivery of the workflow. Two now-deadbullseyebranches remain in shell conditionals (lua-cffi.yml,test-packages/action.yml), harmless.get-environment.ymlexposesrelease_type(release, hotfix or empty), which selects thetesting-release/testing-hotfixPulp repository..github/actions/{package-delivery-pulp,promote-to-stable-pulp,pulp-repository-properties,setup-pulp-cli,parse-distrib}and.github/scripts/pulp/are copied verbatim from centreon-plugins (develop).continue-on-error), in line with MON-209532, and run on the internalcentreon-ubuntu-22.04runners:pulp-api.int.centreon.comis not reachable from GitHub-hosted runners. This repository only used hosted runners so far — if the label is not available to it, the jobs will stay queued and the runner group needs to be extended.Merge order: the Pulp side must first allow this repository to write to the
pluginsdomain (delivery-tooling PR linked on the ticket, deployed by ArgoCD on dev and prod); until then the new jobs fail on authorization.How to test
Every workflow parses and lints. On a
developpush after the delivery-tooling change is deployed, thedeliver <distrib> on pulpjobs upload the packages and their verification step finds them onpackages.int.centreon.com; a release/hotfix branch delivers to the matching testing repository; a merge intomasterpromotes them to stable.