You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Chore]: Refactor the existing E2E tests on Barman Cloud for a generic plugin use case #7614
choreIntangible work to reduce technical debtdo not backportThis PR must not be backported - it will be in the next minor releaseno-stalesize:XXLThis PR changes 1000+ lines, ignoring generated files.
Is there an existing issue already for this feature request/idea?
I have searched for an existing issue, and could not find anything. I believe this is a new feature request to be evaluated.
What problem is this feature going to solve? Why should it be added?
The existing end-to-end tests are functioning with the in-tree Barman Cloud implementation. However, we lack a method to test a generic plugin for backup, restore, and, when necessary, WAL archiving.
Describe the solution you'd like
The existing Barman Cloud backup should be refactored to run independently and exclusively use the CNPG-I plugin interface. Eventually, these components can be relocated to a separate repository, such as CNPG-I, to allow the community to test the Barman Cloud Plugin and for third-party organisations to evaluate their own plugins. This same strategy will also be applied when we transition the volume snapshot plugin out of the in-tree setup.
This initial step aims to establish a vendor-neutral and transparent method for listing all backup and recovery solutions, including both community-driven and commercial options.
Describe alternatives you've considered
We considered writing dedicated plugin tests within the operator codebase. However, this approach does not scale and introduces unnecessary technical debt in CloudNativePG, which contradicts our backup-agnostic strategy.
Additional context
No response
Backport?
No
Are you willing to actively contribute to this feature?
Is there any plan of supporting something like Cue's Unity project in the future? They have a framework (and just a code repo in the past) that tests new releases against real user-provided scenarios looking for regressions, in this case it would be a way to ensure changes in CNPG/CNPG-I don't break existing plugins (or at least breakage is known before a release).
Coming to the end of May, it is unrealistic to complete this activity by the end of June. Moving this to 1.31.0, which forces us to maintain Barman Cloud in core for another release.
We should rescope this ticket. The initial goal was to enable us to refactor the tests for backup and recovery to use the plugin so that we could finally remove the native support of Barman Cloud from the core. This goal has been achieved, per #11671 as well.
As a result, we will consider this ticket to be completed. The second part (making it generic) will be re-evaluated as part of a future conformance program that, as an Incubation project, we could aspire to.
choreIntangible work to reduce technical debtdo not backportThis PR must not be backported - it will be in the next minor releaseno-stalesize:XXLThis PR changes 1000+ lines, ignoring generated files.
Activity
Agalin commentedon Jun 3, 2025
Is there any plan of supporting something like Cue's Unity project in the future? They have a framework (and just a code repo in the past) that tests new releases against real user-provided scenarios looking for regressions, in this case it would be a way to ensure changes in CNPG/CNPG-I don't break existing plugins (or at least breakage is known before a release).
dosubot commentedon Sep 2, 2025
Hi, @gbartolini. I'm Dosu (https://dosu.dev), and I'm helping the cloudnative-pg team manage their backlog and am marking this issue as stale.
Issue Summary:
Next Steps:
Thanks for your understanding and contribution!
7 remaining items
armru commentedon Mar 4, 2026
I vote for the second option. I prefer releasing the 1.29 sooner to bring fixes to the end users
leonardoce commentedon Mar 4, 2026
Yes second option for me too
mnencia commentedon Mar 4, 2026
I agree with the others. Move it to 1.30
gbartolini commentedon Mar 4, 2026
Majority has voted for moving to 1.30.
gbartolini commentedon May 29, 2026
Coming to the end of May, it is unrealistic to complete this activity by the end of June. Moving this to 1.31.0, which forces us to maintain Barman Cloud in core for another release.
litaocdl commentedon Aug 13, 2026
I guess those two PRs covered this task
#10850
#11264
gbartolini commentedon Sep 21, 2026
Thanks @litaocdl. @mnencia @NiccoloFei can you please confirm that those two tickets are closing this? Is #11191 possibly related to this?
gbartolini commentedon Oct 23, 2026
We should rescope this ticket. The initial goal was to enable us to refactor the tests for backup and recovery to use the plugin so that we could finally remove the native support of Barman Cloud from the core. This goal has been achieved, per #11671 as well.
As a result, we will consider this ticket to be completed. The second part (making it generic) will be re-evaluated as part of a future conformance program that, as an Incubation project, we could aspire to.