Skip to content

Commit 65572c3

Browse files
redhat-appstudio-qe-botRoming22
authored andcommitted
PLNSRVCE-1268: change to allow cluster alive for 2 hours when there is an issue
1 parent bacf36d commit 65572c3

File tree

3 files changed

+25
-1
lines changed

3 files changed

+25
-1
lines changed

.tekton/pipeline/acceptance-tests.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,12 @@ spec:
115115
- input: "$(tasks.deploy-cluster.status)"
116116
operator: notin
117117
values: ["None"]
118+
- input: "$(tasks.plnsvc-setup.status)"
119+
operator: notin
120+
values: ["Failed"]
121+
- input: "$(tasks.pipeline-service-tests.status)"
122+
operator: notin
123+
values: ["Failed"]
118124
params:
119125
- name: cluster-name
120126
value: "$(tasks.generate-cluster-name.results.cluster-name)"

.tekton/pipeline/upgrade-tests.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,24 @@ spec:
188188
- input: "$(tasks.deploy-cluster.status)"
189189
operator: notin
190190
values: ["None"]
191+
- input: "$(tasks.plnsvc-setup.status)"
192+
operator: notin
193+
values: ["Failed"]
194+
- input: "$(tasks.tests-before-upgrade.status)"
195+
operator: notin
196+
values: ["Failed"]
197+
- input: "$(tasks.plnsvc-upgrade-setup.status)"
198+
operator: notin
199+
values: ["Failed"]
200+
- input: "$(tasks.tests-post-upgrade.status)"
201+
operator: notin
202+
values: ["Failed"]
203+
- input: "$(tasks.plnsvc-downgrade-setup.status)"
204+
operator: notin
205+
values: ["Failed"]
206+
- input: "$(tasks.tests-post-downgrade.status)"
207+
operator: notin
208+
values: ["Failed"]
191209
params:
192210
- name: cluster-name
193211
value: "$(tasks.generate-cluster-name.results.cluster-name)"

ci/images/ci-runner/hack/bin/destroy-clusters.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ SCRIPT_DIR="$(
1212
# shellcheck source=ci/images/ci-runner/hack/bin/utils.sh
1313
source "$SCRIPT_DIR/utils.sh"
1414

15-
MAX_DURATION_MINS=60
15+
MAX_DURATION_MINS=120
1616
EXCLUDE_CLUSTER=(local-cluster)
1717

1818
delete_cluster() {

0 commit comments

Comments
 (0)