Skip to content

feat: Make CREATE EXTENSION tests optional#92

Open
mbiagetti wants to merge 2 commits intocloudnative-pg:mainfrom
mbiagetti:mbiagetti/dev/85
Open

feat: Make CREATE EXTENSION tests optional#92
mbiagetti wants to merge 2 commits intocloudnative-pg:mainfrom
mbiagetti:mbiagetti/dev/85

Conversation

@mbiagetti
Copy link
Contributor

@mbiagetti mbiagetti commented Jan 29, 2026

The testing framework does not support conditional templating or conditional test execution, so the assertion part is generated but the generate-testing-values Dagger command.

Result of the generate command for

create_extension: true
dynamic_library_path: []
expected_extensions:
    - applied: true
      name: vector
extension_control_path: []
extension_image: registry.pg-extensions:5000/pgvector-testing:0.8.1-18-trixie
extensions:
    - name: vector
      version: 0.8.1
image_name: pgvector
ld_library_path: []
name: pgvector
pg_image: ghcr.io/cloudnative-pg/postgresql:18-minimal-trixie
shared_preload_libraries: []
sql_name: vector
version: 0.8.1

fixes #85

@mbiagetti mbiagetti requested review from a team and NiccoloFei as code owners January 29, 2026 16:28
@NiccoloFei NiccoloFei force-pushed the mbiagetti/dev/85 branch 3 times, most recently from cf759a1 to 60a3587 Compare February 5, 2026 11:37
Signed-off-by: Matteo <matteo.biagetti@enterprisedb.com>
Signed-off-by: Niccolò Fei <niccolo.fei@enterprisedb.com>
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.

Make CREATE EXTENSION tests optional

2 participants