fix(ci): enable workflow-level archiveLogs for cockpit builds

spec.archiveLogs:false was the real kill-switch — it disabled archival for the whole workflow regardless
of the per-template MinIO-reachability fix. Flip to true so logs actually land in the argo-logs bucket.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
jgrusewski
2026-06-15 21:59:18 +02:00
parent 2379b465b7
commit 2ca1e9541b

View File

@@ -17,7 +17,8 @@ metadata:
spec:
serviceAccountName: argo-workflow
entrypoint: pipeline
archiveLogs: false # the MinIO log sink is unreachable from ci-compile-cpu; don't fail the run on it
archiveLogs: true # archive build/deploy logs to MinIO (argo-logs bucket). Reachable now that the
# pods carry app.kubernetes.io/part-of: argo-workflows (MinIO ingress netpol allow).
activeDeadlineSeconds: 1800
ttlStrategy: { secondsAfterCompletion: 3600 }
podGC: { strategy: OnPodCompletion }