Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase trivy timeout #51

Merged
merged 1 commit into from
Mar 21, 2024
Merged

Conversation

misohu
Copy link
Member

@misohu misohu commented Mar 20, 2024

This PR increases the Trivy timemout for scanning images from default 5 mins to 50 mins. This change is needed as some ROCKs (e.g. pytorch-cpu in this PR) takes time to scan (The bigger GPU ones will take even longer). This change was tested in this PR run

Copy link
Contributor

@orfeas-k orfeas-k left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch Michal, approving since that's a fair estimate including future GPU ROCKs as you let me know. We decided to have a comment in the issue canonical/data-science-stack#52 so if we see that 50 minutes is much longer than needed after all, we 'll readjust the timeout here to make sure that this catches cases where something is actually stuck.

@misohu misohu merged commit 8c04dad into main Mar 21, 2024
@misohu misohu deleted the KF-5462-increase-trivy-timout-for-rock-scans branch March 21, 2024 10:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants