ci: clear proxy env in minio-bucket-init, capture seed pod logs on failure

This commit is contained in:
Celes Renata
2026-04-19 08:55:52 +00:00
parent 0acb787892
commit 4ebf75134f
5 changed files with 13 additions and 23 deletions
+4
View File
@@ -145,6 +145,10 @@ spec:
memory: 128Mi
command: ["/bin/sh", "-c"]
env:
- name: HTTP_PROXY
value: ""
- name: HTTPS_PROXY
value: ""
- name: NO_PROXY
value: "minio,.local,10.0.0.0/8,192.168.0.0/16"
- name: no_proxy
+3 -2
View File
@@ -333,7 +333,6 @@ log "Seeding sandbox database ..."
if ! kubectl run seed-sandbox \
--image="$SEED_IMAGE" \
--restart=Never \
--rm \
--attach \
--pod-running-timeout=5m \
--namespace="$NAMESPACE" \
@@ -355,7 +354,9 @@ if ! kubectl run seed-sandbox \
--env="MINIO_SECRET_KEY=minioadmin" \
--command -- python -m tests.integration.seed_sandbox; then
log "FATAL: Database seed failed"
debug_pod_failure "seed-sandbox" "run=seed-sandbox"
log "Seed pod logs:"
kubectl logs seed-sandbox -n "$NAMESPACE" --tail=50 2>&1 || true
kubectl delete pod seed-sandbox -n "$NAMESPACE" --ignore-not-found > /dev/null 2>&1 || true
stage_fail "seed_data"
PIPELINE_EXIT_CODE=2
exit 2