rancher / rke2

https://docs.rke2.io/
Apache License 2.0
1.57k stars 268 forks source link

[Release-1.28] Add trivy scanning to PR reports #6835

Closed dereknola closed 1 month ago

dereknola commented 1 month ago

Proposed Changes

Backport https://github.com/rancher/rke2/pull/6806

Types of Changes

Verification

Testing

Linked Issues

https://github.com/rancher/rke2/issues/6643

User-Facing Change

Further Comments

codecov-commenter commented 1 month ago

Codecov Report

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

Project coverage is 17.75%. Comparing base (e588eb0) to head (e6721d5). Report is 3 commits behind head on release-1.28.

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

HEAD has 1 upload less than BASE | Flag | BASE (e588eb0) | HEAD (e6721d5) | |------|------|------| |inttests|1|0|
Additional details and impacted files ```diff @@ Coverage Diff @@ ## release-1.28 #6835 +/- ## ================================================ - Coverage 25.11% 17.75% -7.36% ================================================ Files 33 32 -1 Lines 2839 2827 -12 ================================================ - Hits 713 502 -211 - Misses 2079 2283 +204 + Partials 47 42 -5 ``` | [Flag](https://app.codecov.io/gh/rancher/rke2/pull/6835/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=rancher) | Coverage Δ | | |---|---|---| | [inttests](https://app.codecov.io/gh/rancher/rke2/pull/6835/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=rancher) | `?` | | | [unittests](https://app.codecov.io/gh/rancher/rke2/pull/6835/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=rancher) | `17.75% <ø> (ø)` | | 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=rancher#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.