Skip to content

feat: generate image catalogs for bake images#305

Merged
mnencia merged 6 commits intomainfrom
dev/image_catalogs
Sep 10, 2025
Merged

feat: generate image catalogs for bake images#305
mnencia merged 6 commits intomainfrom
dev/image_catalogs

Conversation

@NiccoloFei
Copy link
Copy Markdown
Contributor

@NiccoloFei NiccoloFei commented Sep 9, 2025

Generate default cluster image catalogs for all combinations of types and OS versions, including all supported PostgreSQL versions. The catalogs also include predefined labels to easily identify the type, OS version, date, and origin of the catalog.

Closes cloudnative-pg/artifacts#1

Signed-off-by: Niccolò Fei <niccolo.fei@enterprisedb.com>
@dosubot dosubot Bot added size:L This PR changes 100-499 lines, ignoring generated files. enhancement New feature or request labels Sep 9, 2025
Signed-off-by: Niccolò Fei <niccolo.fei@enterprisedb.com>
@NiccoloFei NiccoloFei force-pushed the dev/image_catalogs branch 2 times, most recently from dd7a5f8 to 7048fe0 Compare September 9, 2025 16:12
@gbartolini
Copy link
Copy Markdown
Contributor

I am torn about adding "preview" releases to an official catalog, without proper management of unstable releases on the cluster side. I'd prefer for now to just use the imageName if I want to use the RC or beta release. Thoughts?

@gbartolini
Copy link
Copy Markdown
Contributor

What do you think about adding these labels?

  labels:
    images.cnpg.io/family: postgresql
    images.cnpg.io/type: minimal
    images.cnpg.io/os: bookworm
    images.cnpg.io/date: "20250909"
    images.cnpg.io/publisher: github.com/cloudnative-pg

Given that we build them automatically, it should not be hard to add them. I think they provide some metadata and improve the UX in general.

Signed-off-by: Niccolò Fei <niccolo.fei@enterprisedb.com>
@dosubot dosubot Bot added the lgtm This PR has been approved by a maintainer label Sep 10, 2025
@gbartolini
Copy link
Copy Markdown
Contributor

It looks good now. Thanks Niccolò.

Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
@mnencia mnencia merged commit b20e75e into main Sep 10, 2025
8 checks passed
@mnencia mnencia deleted the dev/image_catalogs branch September 10, 2025 14:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request lgtm This PR has been approved by a maintainer size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Start building image catalogs for bullseye, bookworm and trixie

3 participants