open-policy-agent / gatekeeper

🐊 Gatekeeper - Policy Controller for Kubernetes
https://open-policy-agent.github.io/gatekeeper/
Apache License 2.0
3.72k stars 765 forks source link

ci: updating trivy version #3691

Closed JaydipGabani closed 2 weeks ago

JaydipGabani commented 2 weeks ago

What this PR does / why we need it: Solve CI errors `2024-11-11T10:44:36.531Z FATAL init error: DB error: failed to download vulnerability DB: database download error: OCI repository error: 1 error occurred:

Which issue(s) this PR fixes (optional, using fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when the PR gets merged): Fixes #

Special notes for your reviewer:

codecov-commenter commented 2 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 47.56%. Comparing base (3350319) to head (e5e3b33). Report is 175 commits behind head on master.

:exclamation: There is a different number of reports uploaded between BASE (3350319) and HEAD (e5e3b33). Click for more details.

HEAD has 1 upload less than BASE | Flag | BASE (3350319) | HEAD (e5e3b33) | |------|------|------| |unittests|2|1|
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #3691 +/- ## ========================================== - Coverage 54.49% 47.56% -6.94% ========================================== Files 134 236 +102 Lines 12329 19786 +7457 ========================================== + Hits 6719 9411 +2692 - Misses 5116 9488 +4372 - Partials 494 887 +393 ``` | [Flag](https://app.codecov.io/gh/open-policy-agent/gatekeeper/pull/3691/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=open-policy-agent) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/open-policy-agent/gatekeeper/pull/3691/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=open-policy-agent) | `47.56% <ø> (-6.94%)` | :arrow_down: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=open-policy-agent#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.