Skip to content

Commit 42c14c0

Browse files
committed
chore: Increate timeouts
1 parent 267d1b7 commit 42c14c0

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

.github/workflows/test-environment-validation.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ env:
2222
jobs:
2323
test-environment-validation:
2424
runs-on: ubuntu-latest
25-
timeout-minutes: 45
25+
timeout-minutes: 60
2626

2727
steps:
2828
- name: Checkout code
@@ -85,11 +85,11 @@ jobs:
8585
8686
# Wait for controller manager to be ready
8787
echo "⏳ Waiting for controller manager to be ready..."
88-
task test-infra:kubectl -- wait --for=condition=Ready pod -l app.kubernetes.io/name=search-controller-manager -n search-system --timeout=500s
88+
task test-infra:kubectl -- wait --for=condition=Ready pod -l app.kubernetes.io/name=search-controller-manager -n search-system --timeout=1000s
8989
9090
# Wait for API server to be ready
9191
echo "⏳ Waiting for API server to be ready..."
92-
task test-infra:kubectl -- wait --for=condition=Ready pod -l app.kubernetes.io/name=search-apiserver -n search-system --timeout=500s
92+
task test-infra:kubectl -- wait --for=condition=Ready pod -l app.kubernetes.io/name=search-apiserver -n search-system --timeout=1000s
9393
9494
# Verify Aggregated API Availability (CA Injection)
9595
echo "⏳ Verifying Aggregated API Availability..."

Taskfile.yaml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -238,13 +238,13 @@ tasks:
238238
task test-infra:kubectl -- apply -k config/dependencies/etcd
239239
240240
echo "Waiting for Etcd namespace to be created..."
241-
task test-infra:kubectl -- wait --for=jsonpath='{.status.phase}'=Active namespace/etcd-system --timeout=500s 2>/dev/null || echo "⚠️ Namespace not ready yet"
241+
task test-infra:kubectl -- wait --for=jsonpath='{.status.phase}'=Active namespace/etcd-system --timeout=1000s 2>/dev/null || echo "⚠️ Namespace not ready yet"
242242
243243
echo "Waiting for Etcd HelmRelease to be ready..."
244-
task test-infra:kubectl -- wait --for=condition=ready helmrelease/etcd -n etcd-system --timeout=500s 2>/dev/null || echo "⚠️ Etcd HelmRelease not ready yet"
244+
task test-infra:kubectl -- wait --for=condition=ready helmrelease/etcd -n etcd-system --timeout=1000s 2>/dev/null || echo "⚠️ Etcd HelmRelease not ready yet"
245245
246246
echo "Waiting for Etcd pods to be ready..."
247-
task test-infra:kubectl -- wait --for=condition=ready pod -l app.kubernetes.io/name=etcd -n etcd-system --timeout=500s 2>/dev/null || echo "⚠️ Etcd pods not ready yet"
247+
task test-infra:kubectl -- wait --for=condition=ready pod -l app.kubernetes.io/name=etcd -n etcd-system --timeout=1000s 2>/dev/null || echo "⚠️ Etcd pods not ready yet"
248248
249249
echo "✅ Etcd installed"
250250
echo ""
@@ -258,13 +258,13 @@ tasks:
258258
task test-infra:kubectl -- apply -k {{.NATS_CONFIG_DIR | default "config/dependencies/nats"}}
259259
260260
echo "Waiting for NATS namespace to be created..."
261-
task test-infra:kubectl -- wait --for=jsonpath='{.status.phase}'=Active namespace/nats-system --timeout=500s 2>/dev/null || echo "⚠️ Namespace not ready yet"
261+
task test-infra:kubectl -- wait --for=jsonpath='{.status.phase}'=Active namespace/nats-system --timeout=1000s 2>/dev/null || echo "⚠️ Namespace not ready yet"
262262
263263
echo "Waiting for NATS HelmRelease to be ready..."
264-
task test-infra:kubectl -- wait --for=condition=ready helmrelease/nats -n nats-system --timeout=500s 2>/dev/null || echo "⚠️ NATS HelmRelease not ready yet (may need Flux installed)"
264+
task test-infra:kubectl -- wait --for=condition=ready helmrelease/nats -n nats-system --timeout=1000s 2>/dev/null || echo "⚠️ NATS HelmRelease not ready yet (may need Flux installed)"
265265
266266
echo "Waiting for NATS pods to be ready..."
267-
task test-infra:kubectl -- wait --for=condition=ready pod -l app.kubernetes.io/name=nats -n nats-system --timeout=500s 2>/dev/null || echo "⚠️ NATS pods not ready yet"
267+
task test-infra:kubectl -- wait --for=condition=ready pod -l app.kubernetes.io/name=nats -n nats-system --timeout=1000s 2>/dev/null || echo "⚠️ NATS pods not ready yet"
268268
269269
echo "✅ NATS installed"
270270
echo ""
@@ -278,13 +278,13 @@ tasks:
278278
task test-infra:kubectl -- apply -k config/dependencies/meilisearch
279279
280280
echo "Waiting for Meilisearch namespace to be created..."
281-
task test-infra:kubectl -- wait --for=jsonpath='{.status.phase}'=Active namespace/meilisearch-system --timeout=500s 2>/dev/null || echo "⚠️ Namespace not ready yet"
281+
task test-infra:kubectl -- wait --for=jsonpath='{.status.phase}'=Active namespace/meilisearch-system --timeout=1000s 2>/dev/null || echo "⚠️ Namespace not ready yet"
282282
283283
echo "Waiting for Meilisearch HelmRelease to be ready..."
284-
task test-infra:kubectl -- wait --for=condition=ready helmrelease/meilisearch -n meilisearch-system --timeout=500s 2>/dev/null || echo "⚠️ Meilisearch HelmRelease not ready yet"
284+
task test-infra:kubectl -- wait --for=condition=ready helmrelease/meilisearch -n meilisearch-system --timeout=1000s 2>/dev/null || echo "⚠️ Meilisearch HelmRelease not ready yet"
285285
286286
echo "Waiting for Meilisearch pods to be ready..."
287-
task test-infra:kubectl -- wait --for=condition=ready pod -l app.kubernetes.io/name=meilisearch -n meilisearch-system --timeout=500s 2>/dev/null || echo "⚠️ Meilisearch pods not ready yet"
287+
task test-infra:kubectl -- wait --for=condition=ready pod -l app.kubernetes.io/name=meilisearch -n meilisearch-system --timeout=1000s 2>/dev/null || echo "⚠️ Meilisearch pods not ready yet"
288288
289289
echo "✅ Meilisearch installed"
290290
echo ""
@@ -327,17 +327,17 @@ tasks:
327327
task test-infra:kubectl -- apply -k config/components/nats-streams
328328
329329
echo "⏳ Waiting for NATS stream to be ready..."
330-
task test-infra:kubectl -- wait --for=condition=ready stream/audit-events -n nats-system --timeout=500s 2>/dev/null || echo "⚠️ Stream not ready yet"
330+
task test-infra:kubectl -- wait --for=condition=ready stream/audit-events -n nats-system --timeout=1000s 2>/dev/null || echo "⚠️ Stream not ready yet"
331331
332332
echo ""
333333
echo "📋 Deploying Search server and components..."
334334
task test-infra:kubectl -- apply -k {{.OVERLAY_DIR | default "config/overlays/dev"}}
335335
336336
echo "⏳ Waiting for Search API Server to be ready..."
337-
task test-infra:kubectl -- wait --for=condition=available deployment/search-apiserver -n search-system --timeout=500s 2>/dev/null || echo "⚠️ Search API Server not ready yet"
337+
task test-infra:kubectl -- wait --for=condition=available deployment/search-apiserver -n search-system --timeout=1000s 2>/dev/null || echo "⚠️ Search API Server not ready yet"
338338
339339
echo "⏳ Waiting for Search Controller Manager to be ready..."
340-
task test-infra:kubectl -- wait --for=condition=available deployment/search-controller-manager -n search-system --timeout=500s 2>/dev/null || echo "⚠️ Search Controller Manager not ready yet"
340+
task test-infra:kubectl -- wait --for=condition=available deployment/search-controller-manager -n search-system --timeout=1000s 2>/dev/null || echo "⚠️ Search Controller Manager not ready yet"
341341
342342
echo "✅ Search server and all dependencies deployed successfully!"
343343
echo ""
@@ -594,7 +594,7 @@ tasks:
594594
595595
# Wait for rollout to complete
596596
echo "Waiting for rollout to complete..."
597-
task test-infra:kubectl -- rollout status deployment/search-controller-manager -n search-system --timeout=500s
597+
task test-infra:kubectl -- rollout status deployment/search-controller-manager -n search-system --timeout=1000s
598598
599599
echo "✅ Redeployment complete!"
600600
echo "Check logs with: task test-infra:kubectl -- logs -n search-system -l app.kubernetes.io/name=search-controller-manager"

0 commit comments

Comments
 (0)