Skip to content

Commit 9def75d

Browse files
authored
Merge branch 'stable' into update-260129
2 parents d0445dd + 3f0bfab commit 9def75d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/mas/devops/tekton.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,8 @@ def installOpenShiftPipelines(dynClient: DynamicClient, customStorageClassName:
111111
pvcName = "postgredb-tekton-results-postgres-0"
112112
pvcNamespace = "openshift-pipelines"
113113

114-
# Wait briefly for PVC to be created (max 30 seconds)
115-
maxInitialRetries = 6
114+
# Wait briefly for PVC to be created (max 5 minutes)
115+
maxInitialRetries = 60
116116
pvc = None
117117
for retry in range(maxInitialRetries):
118118
try:
@@ -124,7 +124,7 @@ def installOpenShiftPipelines(dynClient: DynamicClient, customStorageClassName:
124124
sleep(5)
125125

126126
if pvc is None:
127-
logger.error(f"PVC {pvcName} was not created after {maxInitialRetries * 5} seconds")
127+
logger.error(f"PVC {pvcName} was not created after {maxInitialRetries * 5} seconds (5 minutes)")
128128
return False
129129

130130
# Check if PVC is already bound

0 commit comments

Comments
 (0)