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

[v2.9] ci: Fix trivy action timeout #926

Merged

Conversation

yiannistri
Copy link
Contributor

(cherry picked from commit f11b2b5)

What this PR does / why we need it:

We frequently get CI failures when scanning with trivy because there have been too many requests to download the vulnerability db from the rancher org (because many of its repos are using it).

This PR updates the Scan workflow to include additional repositories to be used if trivy fails to retrieve the vulnerability db from the primary source.

Which issue(s) this PR fixes
Issue #924

Special notes for your reviewer:

Source for fix: aquasecurity/trivy#7668 (reply in thread)

Checklist:

  • squashed commits into logical changes
  • includes documentation
  • adds unit tests
  • adds or updates e2e tests
  • backport needed

(cherry picked from commit f11b2b5)
@yiannistri yiannistri marked this pull request as ready for review November 6, 2024 10:30
@yiannistri yiannistri requested a review from a team as a code owner November 6, 2024 10:30
@yiannistri yiannistri merged commit 11d82d6 into rancher:release-v2.9 Nov 6, 2024
6 checks passed
@yiannistri yiannistri deleted the 924-trivy-action-release-v2.9 branch November 6, 2024 10:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants