Skip to content

Commit fe2ca33

Browse files
committed
chore: test new timeouts
1 parent 4a9caa9 commit fe2ca33

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
@@ -21,7 +21,7 @@ env:
2121
jobs:
2222
test-environment-validation:
2323
runs-on: ubuntu-latest
24-
timeout-minutes: 30
24+
timeout-minutes: 45
2525

2626
steps:
2727
- name: Checkout code
@@ -84,11 +84,11 @@ jobs:
8484
8585
# Wait for controller manager to be ready
8686
echo "⏳ Waiting for controller manager to be ready..."
87-
task test-infra:kubectl -- wait --for=condition=Ready pod -l app.kubernetes.io/name=search-controller-manager -n search-system --timeout=120s
87+
task test-infra:kubectl -- wait --for=condition=Ready pod -l app.kubernetes.io/name=search-controller-manager -n search-system --timeout=500s
8888
8989
# Wait for API server to be ready
9090
echo "⏳ Waiting for API server to be ready..."
91-
task test-infra:kubectl -- wait --for=condition=Ready pod -l app.kubernetes.io/name=search-apiserver -n search-system --timeout=120s
91+
task test-infra:kubectl -- wait --for=condition=Ready pod -l app.kubernetes.io/name=search-apiserver -n search-system --timeout=500s
9292
9393
# Verify Aggregated API Availability (CA Injection)
9494
echo "⏳ Verifying Aggregated API Availability..."

Taskfile.yaml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -222,13 +222,13 @@ tasks:
222222
task test-infra:kubectl -- apply -k config/dependencies/etcd
223223
224224
echo "Waiting for Etcd namespace to be created..."
225-
task test-infra:kubectl -- wait --for=jsonpath='{.status.phase}'=Active namespace/etcd-system --timeout=30s 2>/dev/null || echo "⚠️ Namespace not ready yet"
225+
task test-infra:kubectl -- wait --for=jsonpath='{.status.phase}'=Active namespace/etcd-system --timeout=500s 2>/dev/null || echo "⚠️ Namespace not ready yet"
226226
227227
echo "Waiting for Etcd HelmRelease to be ready..."
228-
task test-infra:kubectl -- wait --for=condition=ready helmrelease/etcd -n etcd-system --timeout=300s 2>/dev/null || echo "⚠️ Etcd HelmRelease not ready yet"
228+
task test-infra:kubectl -- wait --for=condition=ready helmrelease/etcd -n etcd-system --timeout=500s 2>/dev/null || echo "⚠️ Etcd HelmRelease not ready yet"
229229
230230
echo "Waiting for Etcd pods to be ready..."
231-
task test-infra:kubectl -- wait --for=condition=ready pod -l app.kubernetes.io/name=etcd -n etcd-system --timeout=120s 2>/dev/null || echo "⚠️ Etcd pods not ready yet"
231+
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"
232232
233233
echo "✅ Etcd installed"
234234
echo ""
@@ -242,13 +242,13 @@ tasks:
242242
task test-infra:kubectl -- apply -k config/dependencies/nats
243243
244244
echo "Waiting for NATS namespace to be created..."
245-
task test-infra:kubectl -- wait --for=jsonpath='{.status.phase}'=Active namespace/nats-system --timeout=30s 2>/dev/null || echo "⚠️ Namespace not ready yet"
245+
task test-infra:kubectl -- wait --for=jsonpath='{.status.phase}'=Active namespace/nats-system --timeout=500s 2>/dev/null || echo "⚠️ Namespace not ready yet"
246246
247247
echo "Waiting for NATS HelmRelease to be ready..."
248-
task test-infra:kubectl -- wait --for=condition=ready helmrelease/nats -n nats-system --timeout=300s 2>/dev/null || echo "⚠️ NATS HelmRelease not ready yet (may need Flux installed)"
248+
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)"
249249
250250
echo "Waiting for NATS pods to be ready..."
251-
task test-infra:kubectl -- wait --for=condition=ready pod -l app.kubernetes.io/name=nats -n nats-system --timeout=120s 2>/dev/null || echo "⚠️ NATS pods not ready yet"
251+
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"
252252
253253
echo "✅ NATS installed"
254254
echo ""
@@ -262,13 +262,13 @@ tasks:
262262
task test-infra:kubectl -- apply -k config/dependencies/meilisearch
263263
264264
echo "Waiting for Meilisearch namespace to be created..."
265-
task test-infra:kubectl -- wait --for=jsonpath='{.status.phase}'=Active namespace/meilisearch-system --timeout=30s 2>/dev/null || echo "⚠️ Namespace not ready yet"
265+
task test-infra:kubectl -- wait --for=jsonpath='{.status.phase}'=Active namespace/meilisearch-system --timeout=500s 2>/dev/null || echo "⚠️ Namespace not ready yet"
266266
267267
echo "Waiting for Meilisearch HelmRelease to be ready..."
268-
task test-infra:kubectl -- wait --for=condition=ready helmrelease/meilisearch -n meilisearch-system --timeout=300s 2>/dev/null || echo "⚠️ Meilisearch HelmRelease not ready yet"
268+
task test-infra:kubectl -- wait --for=condition=ready helmrelease/meilisearch -n meilisearch-system --timeout=500s 2>/dev/null || echo "⚠️ Meilisearch HelmRelease not ready yet"
269269
270270
echo "Waiting for Meilisearch pods to be ready..."
271-
task test-infra:kubectl -- wait --for=condition=ready pod -l app.kubernetes.io/name=meilisearch -n meilisearch-system --timeout=120s 2>/dev/null || echo "⚠️ Meilisearch pods not ready yet"
271+
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"
272272
273273
echo "✅ Meilisearch installed"
274274
echo ""
@@ -311,17 +311,17 @@ tasks:
311311
task test-infra:kubectl -- apply -k config/components/nats-streams
312312
313313
echo "⏳ Waiting for NATS stream to be ready..."
314-
task test-infra:kubectl -- wait --for=condition=ready stream/audit-events -n nats-system --timeout=120s 2>/dev/null || echo "⚠️ Stream not ready yet"
314+
task test-infra:kubectl -- wait --for=condition=ready stream/audit-events -n nats-system --timeout=500s 2>/dev/null || echo "⚠️ Stream not ready yet"
315315
316316
echo ""
317317
echo "📋 Deploying Search server and components..."
318318
task test-infra:kubectl -- apply -k config/overlays/dev
319319
320320
echo "⏳ Waiting for Search API Server to be ready..."
321-
task test-infra:kubectl -- wait --for=condition=available deployment/search-apiserver -n search-system --timeout=120s 2>/dev/null || echo "⚠️ Search API Server not ready yet"
321+
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"
322322
323323
echo "⏳ Waiting for Search Controller Manager to be ready..."
324-
task test-infra:kubectl -- wait --for=condition=available deployment/search-controller-manager -n search-system --timeout=120s 2>/dev/null || echo "⚠️ Search Controller Manager not ready yet"
324+
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"
325325
326326
echo "✅ Search server and all dependencies deployed successfully!"
327327
echo ""
@@ -578,7 +578,7 @@ tasks:
578578
579579
# Wait for rollout to complete
580580
echo "Waiting for rollout to complete..."
581-
task test-infra:kubectl -- rollout status deployment/search-controller-manager -n search-system --timeout=120s
581+
task test-infra:kubectl -- rollout status deployment/search-controller-manager -n search-system --timeout=500s
582582
583583
echo "✅ Redeployment complete!"
584584
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)