Skip to content

Conversation

@GabriFedi97
Copy link
Contributor

@GabriFedi97 GabriFedi97 commented Dec 4, 2025

Add automation to verify if we need to rebuild container images due to dependencies updates available.
This PR adds a dagger module exposing the commands to perform dependency updates checks only. However, the module is meant to be expanded as per new maintenance task requirements.

The idea is to maintain a set of files under the system-libs folder for each extension requiring complex deps, which keep track of dependencies updates. Every time any of these files change in any of the extension folders we trigger automatic builds of the related containers. Each extension has to explicitly set the metadata field auto_update_os_libs = true in the metadata.hcl file to be part of this mechanism.
The automation will open a dedicated PR with system-libs updates for each extension.

How to test?

 dagger call -m ./dagger/maintenance/ update-oslibs export --path .

Closes #10

NiccoloFei and others added 10 commits December 5, 2025 16:22
Signed-off-by: Niccolò Fei <niccolo.fei@enterprisedb.com>
Signed-off-by: Gabriele Fedi <gabriele.fedi@enterprisedb.com>
Signed-off-by: Gabriele Fedi <gabriele.fedi@enterprisedb.com>
Signed-off-by: Gabriele Fedi <gabriele.fedi@enterprisedb.com>
Signed-off-by: Gabriele Fedi <gabriele.fedi@enterprisedb.com>
Signed-off-by: Gabriele Fedi <gabriele.fedi@enterprisedb.com>
Signed-off-by: Gabriele Fedi <gabriele.fedi@enterprisedb.com>
Signed-off-by: Niccolò Fei <niccolo.fei@enterprisedb.com>
Signed-off-by: Niccolò Fei <niccolo.fei@enterprisedb.com>
Signed-off-by: Niccolò Fei <niccolo.fei@enterprisedb.com>
@mnencia mnencia force-pushed the GabriFedi97/dev/10 branch 3 times, most recently from cdd6153 to b6c9879 Compare December 5, 2025 18:46
Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
@mnencia mnencia force-pushed the GabriFedi97/dev/10 branch from b6c9879 to e901e44 Compare December 5, 2025 18:51
Signed-off-by: Niccolò Fei <niccolo.fei@enterprisedb.com>
@NiccoloFei NiccoloFei merged commit 4df8898 into cloudnative-pg:main Dec 9, 2025
1 check 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.

Automate updates of OS libraries

3 participants