Skip to content

K8SPG-1000 Add extensions major upgrade tests#1547

Open
jvpasinatto wants to merge 4 commits intomainfrom
test-upgrade-290
Open

K8SPG-1000 Add extensions major upgrade tests#1547
jvpasinatto wants to merge 4 commits intomainfrom
test-upgrade-290

Conversation

@jvpasinatto
Copy link
Copy Markdown
Contributor

CHANGE DESCRIPTION

Problem:
There was no tests with postgis images and major upgrade with all bultin extensions enabled

Cause:
Short explanation of the root cause of the issue if applicable.

Solution:
Add tests that enables all extensions, uses Postgis images, insert Postgis data then perform the major upgrade operations.
Add the tests only in release test suite.

CHECKLIST

Jira

  • Is the Jira ticket created and referenced properly?
  • Does the Jira ticket have the proper statuses for documentation (Needs Doc) and QA (Needs QA)?
  • Does the Jira ticket link to the proper milestone (Fix Version field)?

Tests

  • Is an E2E test/test case added for the new feature/change?
  • Are unit tests added where appropriate?

Config/Logging/Testability

  • Are all needed new/changed options added to default YAML files?
  • Are all needed new/changed options added to the Helm Chart?
  • Did we add proper logging messages for operator actions?
  • Did we ensure compatibility with the previous version or cluster upgrade process?
  • Does the change support oldest and newest supported PG version?
  • Does the change support oldest and newest supported Kubernetes version?

@@ -1158,6 +1158,7 @@ get_container_image() {
case $component in
pgbouncer) key="IMAGE_PGBOUNCER${pgVersion}" ;;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[shfmt] reported by reviewdog 🐶

Suggested change
pgbouncer) key="IMAGE_PGBOUNCER${pgVersion}" ;;
pgbouncer) key="IMAGE_PGBOUNCER${pgVersion}" ;;

Comment on lines +1161 to 1162
postgis) key="IMAGE_POSTGIS${pgVersion}" ;;
*) key="IMAGE_POSTGRESQL${pgVersion}" ;;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[shfmt] reported by reviewdog 🐶

Suggested change
postgis) key="IMAGE_POSTGIS${pgVersion}" ;;
*) key="IMAGE_POSTGRESQL${pgVersion}" ;;
postgis) key="IMAGE_POSTGIS${pgVersion}" ;;
*) key="IMAGE_POSTGRESQL${pgVersion}" ;;

eleo007
eleo007 previously approved these changes Apr 8, 2026
@jvpasinatto jvpasinatto marked this pull request as ready for review April 8, 2026 18:57
valmiranogueira
valmiranogueira previously approved these changes Apr 8, 2026
hors
hors previously approved these changes Apr 9, 2026
@jvpasinatto jvpasinatto dismissed stale reviews from hors, valmiranogueira, and eleo007 via 7488d1a April 9, 2026 12:15
@JNKPercona
Copy link
Copy Markdown
Collaborator

Test Name Result Time
backup-enable-disable passed 00:00:00
builtin-extensions passed 00:00:00
cert-manager-tls passed 00:00:00
custom-envs passed 00:00:00
custom-extensions passed 00:00:00
custom-tls passed 00:00:00
database-init-sql passed 00:00:00
demand-backup passed 00:00:00
demand-backup-offline-snapshot passed 00:00:00
dynamic-configuration passed 00:00:00
finalizers passed 00:00:00
init-deploy passed 00:00:00
huge-pages passed 00:00:00
major-upgrade-13-to-14 passed 00:11:05
major-upgrade-14-to-15 passed 00:00:00
major-upgrade-15-to-16 passed 00:00:00
major-upgrade-16-to-17 passed 00:00:00
major-upgrade-17-to-18 passed 00:00:00
ldap passed 00:00:00
ldap-tls passed 00:00:00
monitoring passed 00:00:00
monitoring-pmm3 passed 00:00:00
one-pod passed 00:00:00
operator-self-healing failure 01:30:16
pitr passed 00:00:00
scaling passed 00:00:00
scheduled-backup passed 00:00:00
self-healing passed 00:00:00
sidecars passed 00:00:00
standby-pgbackrest passed 00:17:43
standby-streaming passed 00:00:00
start-from-backup passed 00:00:00
tablespaces passed 00:00:00
telemetry-transfer passed 00:00:00
upgrade-consistency passed 00:00:00
upgrade-minor passed 00:00:00
users passed 00:00:00
Summary Value
Tests Run 37/37
Job Duration 02:09:55
Total Test Time 01:59:05

commit: 7d7e00f
image: perconalab/percona-postgresql-operator:PR-1547-7d7e00f1c

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.

5 participants