infra: remove govulncheck script and GHA workflow - #434
Conversation
✅ Deploy Preview for node-readiness-controller canceled.
|
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: vitorfloriano The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
|
|
Thanks for looking into this, @vitorfloriano !
I think it's one of those things that doesn't fit a presubmit best. Ideally for a vulnerability detector, we should move this into a periodic, that fails separately and can alert us. Potentially even having an "exemption" list so that we can 'silent' some failures if we need to. And our release process to check this periodic for green and address any patches if needed. |
Agreed. So, in this case, I guess I should pivot the PR to:
In a follow-up:
WDYT @ajaysundark? |
Sgtm. @Priyankasaggu11929 do you have any thoughts on tying this with periodics than presubmits? |
|
i think running as a periodics is good for our required signal right now |
701007c to
361059a
Compare
361059a to
e711a19
Compare
Govulncheck is now called directly against main. A follow-up must add a periodic prowjob to run this check, instead of a presubmit.
e711a19 to
89cc0a8
Compare
|
I made the necessary changes and will add the periodic next. /hold |
Description
This PR refactors how
govulncheckis used in the repo.The govulncheck target was renamed to
verify-govulncheckand themaketarget callsgovulncheckusing the default scan (symbol instead of package level), which performs reachability analysis and lessens the ocurrences of false positives.The hack script and GitHub Actions workflow were removed and a periodic ProwJob should follow up.
We're also bumping
govulnchecktov1.7.0.Related Issue
Fixes #433
Type of Change
/kind bug
/kind cleanup
/kind failing-test
Testing
Ran
make verify-govulnchecklocally and it downloaded the binary and detected the vulnerabilities, as expected.