File tree Expand file tree Collapse file tree 5 files changed +13
-0
lines changed
e2e-tests/tests/major-upgrade Expand file tree Collapse file tree 5 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ commands:
1313 .spec.postgresVersion = 13 |
1414 .spec.image = "perconalab/percona-postgresql-operator:main-ppg13-postgres" |
1515 .spec.instances[0].dataVolumeClaimSpec.resources.requests.storage = "3Gi" |
16+ .spec.patroni.createReplicaMethods = ["basebackup","pgbackrest"] |
1617 .spec.proxy.pgBouncer.image = "perconalab/percona-postgresql-operator:main-ppg13-pgbouncer" |
1718 .spec.backups.pgbackrest.image = "perconalab/percona-postgresql-operator:main-ppg13-pgbackrest"' \
1819 | kubectl -n "${NAMESPACE}" apply -f -
Original file line number Diff line number Diff line change @@ -8,6 +8,9 @@ commands:
88
99 source ../../functions
1010
11+ run_psql_local \
12+ 'checkpoint' \
13+ "postgres:$(get_psql_user_pass major-upgrade-pguser-postgres)@$(get_psql_user_host major-upgrade-pguser-postgres)"
1114 run_psql_local \
1215 'select pg_switch_wal()' \
1316 "postgres:$(get_psql_user_pass major-upgrade-pguser-postgres)@$(get_psql_user_host major-upgrade-pguser-postgres)"
Original file line number Diff line number Diff line change @@ -8,6 +8,9 @@ commands:
88
99 source ../../functions
1010
11+ run_psql_local \
12+ 'checkpoint' \
13+ "postgres:$(get_psql_user_pass major-upgrade-pguser-postgres)@$(get_psql_user_host major-upgrade-pguser-postgres)"
1114 run_psql_local \
1215 'select pg_switch_wal()' \
1316 "postgres:$(get_psql_user_pass major-upgrade-pguser-postgres)@$(get_psql_user_host major-upgrade-pguser-postgres)"
Original file line number Diff line number Diff line change @@ -8,6 +8,9 @@ commands:
88
99 source ../../functions
1010
11+ run_psql_local \
12+ 'checkpoint' \
13+ "postgres:$(get_psql_user_pass major-upgrade-pguser-postgres)@$(get_psql_user_host major-upgrade-pguser-postgres)"
1114 run_psql_local \
1215 'select pg_switch_wal()' \
1316 "postgres:$(get_psql_user_pass major-upgrade-pguser-postgres)@$(get_psql_user_host major-upgrade-pguser-postgres)"
Original file line number Diff line number Diff line change @@ -8,6 +8,9 @@ commands:
88
99 source ../../functions
1010
11+ run_psql_local \
12+ 'checkpoint' \
13+ "postgres:$(get_psql_user_pass major-upgrade-pguser-postgres)@$(get_psql_user_host major-upgrade-pguser-postgres)"
1114 run_psql_local \
1215 'select pg_switch_wal()' \
1316 "postgres:$(get_psql_user_pass major-upgrade-pguser-postgres)@$(get_psql_user_host major-upgrade-pguser-postgres)"
You can’t perform that action at this time.
0 commit comments