File tree Expand file tree Collapse file tree 1 file changed +21
-5
lines changed
Expand file tree Collapse file tree 1 file changed +21
-5
lines changed Original file line number Diff line number Diff line change 77 apply : 5s
88 assert : 3m
99 delete : 30s
10- description : Verify an extension is properly installed
10+ description : >-
11+ Validates the end-to-end lifecycle of a PostgreSQL extension, including cluster
12+ initialization, database resource creation, and functional verification.
1113 steps :
12- - name : Create a Cluster with the extension
14+ - name : Provision PostgreSQL Cluster
15+ description : >-
16+ Deploy a Cluster resource using the built extension container image.
17+ This step validates that the custom image is compatible with the operator
18+ and that the instance can initialize and reach a Healthy phase.
1319 try :
1420 - apply :
1521 file : cluster.yaml
16- - apply :
17- file : database.yaml
1822 - assert :
1923 file : cluster-assert.yaml
24+
25+ - name : Initialize Database and Extension
26+ description : Create the Database custom resource and trigger the 'CREATE EXTENSION' logic via CNPG.
27+ try :
28+ - apply :
29+ file : database.yaml
2030 - assert :
31+ timeout : 30s
2132 file : database-assert.yaml
2233
23- - name : Verify the extension is installed
34+ - name : Functional Verification
35+ description : >-
36+ Execute a SQL-level check against pg_extension to confirm the extension
37+ is successfully registered in the database catalog.
2438 try :
2539 - apply :
2640 file : check-extension.yaml
2741 - assert :
42+ timeout : 30s
2843 file : check-extension-assert.yaml
44+
You can’t perform that action at this time.
0 commit comments