fix: give the image scan 20 minutes, past a cold Java database download #100

Merged
cjournois merged 1 commit from fix/trivy-timeout into main 2026-11-09 15:34:21 +00:00
Collaborator

On 8.0.1 the ci-runner and cluster-ops images failed with trivy could not run: Trivy's 5-minute default ran out while it downloaded the Java database from ghcr (about 5½ minutes on devops/image#213), before it scanned anything. Only images with Java artifacts load that database.

  • The scan gets 20 minutes (TRIVY_TIMEOUT overrides it).

Verified: just lint test (541 bats) green; live Image-1 jobs for ci-runner and cluster-ops on the devops/image spike — see comment.

Session: 60ac4614-d609-4e43-a004-27bdaf30476c

On 8.0.1 the ci-runner and cluster-ops images failed with `trivy could not run`: Trivy's 5-minute default ran out while it downloaded the Java database from ghcr (about 5½ minutes on devops/image#213), before it scanned anything. Only images with Java artifacts load that database. - The scan gets 20 minutes (`TRIVY_TIMEOUT` overrides it). Verified: `just lint test` (541 bats) green; live Image-1 jobs for ci-runner and cluster-ops on the devops/image spike — see comment. Session: 60ac4614-d609-4e43-a004-27bdaf30476c
fix: give the image scan 20 minutes, past a cold Java database download
All checks were successful
ci: reusable-pipeline / CI Pipeline (pull_request) Successful in 50s
ci: reusable-pipeline / CI Pipeline (push) Successful in 48s
0635a60b17
Session: 60ac4614-d609-4e43-a004-27bdaf30476c
cjournois changed title from WIP: fix: give the image scan 20 minutes, past a cold Java database download to fix: give the image scan 20 minutes, past a cold Java database download 2026-11-09 15:34:17 +00:00
cjournois deleted branch fix/trivy-timeout 2026-11-09 15:34:22 +00:00
Sign in to join this conversation.
No reviewers
No labels
needs-human
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
cjournois/reusable-pipeline!100
No description provided.