Skip to content

fix(maintenance): handle Debian epoch versions - #333

Merged
GabriFedi97 merged 5 commits into
cloudnative-pg:mainfrom
ardentperf:pr-fix-debian-epoch
Sep 16, 2026
Merged

GabriFedi97 merged 5 commits into
cloudnative-pg:mainfrom
ardentperf:pr-fix-debian-epoch

Conversation

@ardentperf

@ardentperf ardentperf commented Sep 4, 2026 •

Copy link
Copy Markdown
Contributor

Description

Preserve Debian epochs as hyphenated OCI image tag prefixes, matching docker-bake.hcl and the published extension images.

The renovate.json extractVersionTemplate for the README image-tag manager was also widened to stop at ~ (Debian pre-release suffix), not just -/+. This affects version extraction for all 8 extensions using that manager, not just epoch cases.

Type of change

  • Update to an existing extension (version bump, fix)
  • Shared build infrastructure / tooling change
  • Documentation only
  • Other (please describe above)

I don't think any current extensions have an epoch or they'd have broken. I bumped into this while building https://github.com/cnpg-extensions


Contributor checklist

  • My commits are signed off for DCO
    compliance (git commit -s).
  • This PR targets the main branch of the upstream repository.
  • task checks:all passes locally.
  • For changes affecting one or more extensions, the relevant build and E2E
    tests pass (e.g. task bake TARGET=<ext>, task e2e:test:full TARGET=<ext>).
  • Any // renovate: comments touched in metadata.hcl / README.md remain
    intact (suite=, depName=, extractVersion=).
  • Documentation (README.md, BUILD.md, ...) updated where relevant.

Maintainer review checklist

  • CI is green for all affected targets / shared changes.
  • DCO check passes.
  • Change reviewed for correctness and scope; no unintended targets rebuilt.
  • // renovate: annotations preserved so automated version tracking keeps
    working.
  • If shared infrastructure changed, the _shared filter in
    .github/workflows/bake.yml was updated when all extensions must rebuild.
  • PR targets main and is ready to merge.

@ardentperf
ardentperf requested a review from a team as a code owner September 4, 2026 00:54
@ardentperf
ardentperf marked this pull request as draft September 4, 2026 12:58
@ardentperf
ardentperf marked this pull request as ready for review September 4, 2026 13:15
@ardentperf
ardentperf marked this pull request as draft September 4, 2026 13:22
@ardentperf
ardentperf marked this pull request as ready for review September 4, 2026 17:12
@gbartolini

Copy link
Copy Markdown
Contributor

@GabriFedi97 @NiccoloFei can you please look into this?

Preserve Debian epochs as hyphenated OCI image tag prefixes, matching
docker-bake.hcl and the published extension images.

Signed-off-by: Jeremy Schneider <schneider@ardentperf.com>
Keep README image references in sync with docker-bake.hcl when Debian
epochs or prerelease suffixes are present.

Signed-off-by: Jeremy Schneider <schneider@ardentperf.com>
Signed-off-by: Jeremy Schneider <schneider@ardentperf.com>
Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
@mnencia
mnencia force-pushed the pr-fix-debian-epoch branch from 9bff9d1 to af11e7f Compare September 16, 2026 07:58
@GabriFedi97
GabriFedi97 merged commit b9cad76 into cloudnative-pg:main Sep 16, 2026
2 checks passed
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.

4 participants