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:
13
13
.spec.postgresVersion = 13 |
14
14
.spec.image = "perconalab/percona-postgresql-operator:main-ppg13-postgres" |
15
15
.spec.instances[0].dataVolumeClaimSpec.resources.requests.storage = "3Gi" |
16
+ .spec.patroni.createReplicaMethods = ["basebackup","pgbackrest"] |
16
17
.spec.proxy.pgBouncer.image = "perconalab/percona-postgresql-operator:main-ppg13-pgbouncer" |
17
18
.spec.backups.pgbackrest.image = "perconalab/percona-postgresql-operator:main-ppg13-pgbackrest"' \
18
19
| kubectl -n "${NAMESPACE}" apply -f -
Original file line number Diff line number Diff line change @@ -8,6 +8,9 @@ commands:
8
8
9
9
source ../../functions
10
10
11
+ run_psql_local \
12
+ 'checkpoint' \
13
+ "postgres:$(get_psql_user_pass major-upgrade-pguser-postgres)@$(get_psql_user_host major-upgrade-pguser-postgres)"
11
14
run_psql_local \
12
15
'select pg_switch_wal()' \
13
16
"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:
8
8
9
9
source ../../functions
10
10
11
+ run_psql_local \
12
+ 'checkpoint' \
13
+ "postgres:$(get_psql_user_pass major-upgrade-pguser-postgres)@$(get_psql_user_host major-upgrade-pguser-postgres)"
11
14
run_psql_local \
12
15
'select pg_switch_wal()' \
13
16
"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:
8
8
9
9
source ../../functions
10
10
11
+ run_psql_local \
12
+ 'checkpoint' \
13
+ "postgres:$(get_psql_user_pass major-upgrade-pguser-postgres)@$(get_psql_user_host major-upgrade-pguser-postgres)"
11
14
run_psql_local \
12
15
'select pg_switch_wal()' \
13
16
"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:
8
8
9
9
source ../../functions
10
10
11
+ run_psql_local \
12
+ 'checkpoint' \
13
+ "postgres:$(get_psql_user_pass major-upgrade-pguser-postgres)@$(get_psql_user_host major-upgrade-pguser-postgres)"
11
14
run_psql_local \
12
15
'select pg_switch_wal()' \
13
16
"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