Skip to content

Commit a4b94ec

Browse files
committed
version: 1.15.0-SNAPSHOT
1 parent dbcd3b4 commit a4b94ec

183 files changed

Lines changed: 2895 additions & 3018 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

stackgres-k8s/e2e/spec/operator-helm

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ e2e_test() {
2424
run_test "Check that operator can not be upgrade from an alpha version" check_operator_upgrade_alpha
2525
run_test "Check that operator can not be upgrade from a beta version" check_operator_upgrade_beta
2626
run_test "Check that operator can not be upgrade from version 0.9.5" check_operator_upgrade_0_9_5
27-
run_test "Check that operator can be upgrade from version 1.12.0" check_operator_upgrade_1_12_0
2827
run_test "Check that operator can be upgrade from version 1.13.0" check_operator_upgrade_1_13_0
28+
run_test "Check that operator can be upgrade from version 1.14.0" check_operator_upgrade_1_14_0
2929
run_test "Check that operator can not be upgrade with an SGCluster that uses version 0.9.5" check_operator_upgrade_with_cluster_using_0_9_5
30-
run_test "Check that operator can be upgrade with an SGCluster that uses version 1.12.0 and 1.13.0" check_operator_upgrade_with_cluster_using_1_12_0_and_1_13_0
30+
run_test "Check that operator can be upgrade with an SGCluster that uses version 1.13.0 and 1.14.0" check_operator_upgrade_with_cluster_using_1_13_0_and_1_14_0
3131
run_test "Check that operator can be deleted" check_operator_delete
3232
run_test "Check that operator can be installed from outside" check_operator_install_outside
3333
run_test "Check that operator can be installed with load balancer" check_operator_install_load_balancer
@@ -163,31 +163,31 @@ check_operator_upgrade_0_9_5() {
163163
fi
164164
}
165165

166-
check_operator_upgrade_1_12_0() {
167-
local PREVIOUS_VERSION=1.12.0
166+
check_operator_upgrade_1_13_0() {
167+
local PREVIOUS_VERSION=1.13.0
168168
kubectl label deployment -n "$OPERATOR_NAMESPACE" stackgres-operator \
169169
--overwrite "version=$PREVIOUS_VERSION"
170170
local EXIT_CODE RESULT
171171
try_function upgrade_operator
172172
if "$RESULT"
173173
then
174-
success "Upgrade did not failed when previous version was 1.12.0"
174+
success "Upgrade did not failed when previous version was 1.13.0"
175175
else
176-
fail "Upgrade failed when previous version was 1.12.0"
176+
fail "Upgrade failed when previous version was 1.13.0"
177177
fi
178178
}
179179

180-
check_operator_upgrade_1_13_0() {
181-
local PREVIOUS_VERSION=1.13.0
180+
check_operator_upgrade_1_14_0() {
181+
local PREVIOUS_VERSION=1.14.0
182182
kubectl label deployment -n "$OPERATOR_NAMESPACE" stackgres-operator \
183183
--overwrite "version=$PREVIOUS_VERSION"
184184
local EXIT_CODE RESULT
185185
try_function upgrade_operator
186186
if "$RESULT"
187187
then
188-
success "Upgrade did not failed when previous version was 1.13.0"
188+
success "Upgrade did not failed when previous version was 1.14.0"
189189
else
190-
fail "Upgrade failed when previous version was 1.13.0"
190+
fail "Upgrade failed when previous version was 1.14.0"
191191
fi
192192
}
193193

@@ -214,13 +214,13 @@ check_operator_upgrade_with_cluster_using_0_9_5() {
214214
remove_cluster "$CLUSTER_NAME" "$CLUSTER_NAMESPACE"
215215
}
216216

217-
check_operator_upgrade_with_cluster_using_1_12_0_and_1_13_0() {
217+
check_operator_upgrade_with_cluster_using_1_13_0_and_1_14_0() {
218218
CLUSTER_1_NAME="$(get_sgcluster_name "$SPEC_NAME-1")"
219219
CLUSTER_2_NAME="$(get_sgcluster_name "$SPEC_NAME-2")"
220220
NODE_LABEL_KEY="$(random_string)"
221221
NODE_LABEL_VALUE="$(random_string)"
222-
local PREVIOUS_VERSION_1=1.12.0
223-
local PREVIOUS_VERSION_2=1.13.0
222+
local PREVIOUS_VERSION_1=1.13.0
223+
local PREVIOUS_VERSION_2=1.14.0
224224
create_or_replace_cluster "$CLUSTER_NAME" "$CLUSTER_NAMESPACE" 1 \
225225
--set cluster.create=false \
226226
--set-string cluster.postgres.version=13.9
@@ -246,9 +246,9 @@ check_operator_upgrade_with_cluster_using_1_12_0_and_1_13_0() {
246246
try_function upgrade_operator
247247
if "$RESULT"
248248
then
249-
success "Upgrade did not failed with an SGCluster that uses version 1.12.0 and 1.13.0"
249+
success "Upgrade did not failed with an SGCluster that uses version 1.13.0 and 1.14.0"
250250
else
251-
fail "Upgrade failed with an SGCluster that uses version 1.12.0 and 1.13.0"
251+
fail "Upgrade failed with an SGCluster that uses version 1.13.0 and 1.14.0"
252252
fi
253253
remove_cluster "$CLUSTER_1_NAME" "$CLUSTER_NAMESPACE"
254254
remove_cluster "$CLUSTER_2_NAME" "$CLUSTER_NAMESPACE"

stackgres-k8s/e2e/spec/previous/1.12/spec/dbops-pgbench

Lines changed: 0 additions & 292 deletions
This file was deleted.

0 commit comments

Comments
 (0)