Skip to content

fix(ci): pulp deb promotion and token refresh in delivery loops - #396

Merged
tuntoja merged 3 commits into
developfrom
MON-210852-fix-pulp-deb-promotion
Sep 30, 2026
Merged

tuntoja merged 3 commits into
developfrom
MON-210852-fix-pulp-deb-promotion

Conversation

@tuntoja

@tuntoja tuntoja commented Sep 30, 2026

Copy link
Copy Markdown
Contributor

Description

Fixes MON-210852

Port of the centreon-plugins stable promotion fixes (centreon/centreon-plugins#6462, centreon/centreon-plugins#6465). Stream connectors share the plugins pulp domain and suites, so the scripts are now byte-identical to the centreon-plugins ones promoted in CI on 2026-09-30.

  • promote-deb: the testing Packages index is read from a file instead of piping curl into awk ... exit (curl 23 under pipefail on the ~730 KB plugins testing index)
  • promote-deb: testing and stable share the plugins domain and the plain codename suites, so the stable release component is already associated at delivery; the before/after diff is empty and the admin-only fallback answered 403 on every multi-package deb promote. The single association is now reused
  • delivery/promote/check loops refresh the pulp OIDC token on every iteration instead of every 40 (expired token → 403 → false missing packages in check-deb)
  • validated: download on the live plugins testing indexes (bookworm, jammy, sha256 match), shared release component checked on stream-connectors / lua-cffi packages (1 association, same unit in apt-stable), token refresh simulation (old ~51 expired calls per run, new 0), shellcheck unchanged

@tuntoja
tuntoja marked this pull request as ready for review September 30, 2026 13:20
@tuntoja
tuntoja requested a review from a team as a code owner September 30, 2026 13:20
@tuntoja
tuntoja requested review from Nivoky and mushroomempires and removed request for a team September 30, 2026 13:20
@tuntoja
tuntoja merged commit 0929f2d into develop Sep 30, 2026
6 checks passed
@tuntoja
tuntoja deleted the MON-210852-fix-pulp-deb-promotion branch September 30, 2026 13:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants