-
Notifications
You must be signed in to change notification settings - Fork 10.1k
Bump indirect dependencies required to add Trivy tool dependency #19821
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
Conversation
Required to add Trivy as a tool dependency. Signed-off-by: Ivan Valdes <[email protected]>
/retest |
2 similar comments
/retest |
/retest |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted filessee 27 files with indirect coverage changes @@ Coverage Diff @@
## main #19821 +/- ##
==========================================
- Coverage 68.80% 68.77% -0.03%
==========================================
Files 421 421
Lines 35863 35863
==========================================
- Hits 24675 24665 -10
- Misses 9758 9764 +6
- Partials 1430 1434 +4 Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
Sorry, I still do not get the point. Usually we don't bump indirect dependencies, I am not sure why you raise this PR. As mentioned in #19804 (comment), the image scan script only needs to add dependency Please correct me if I miss anything. |
Hi @ahrtr, If I want to add the Trivy dependency to be managed by our If we don't want to bump these dependencies, the only other option would be to set a fixed version for Trivy, and manually bump it. i.e., TRIVY_VERSION=v0.61.1
curl -sSfL https://raw.githubusercontent.com/aquasecurity/trivy/main/contrib/install.sh | sh -s -- -b ./bin "${TRIVY_VERSION}" The only issue with this approach is that we may forget to update the Trivy version, and I'm unsure if fetching the vulnerability database may fail for an out of date version. |
Got it, thx for the clarification. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ahrtr, ivanvc The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Spun off from #19804 (comment).
Alternative to #19819, it only bumps indirect dependencies required to add Trivy as a tool dependency.
Part of #19363.
Please read https://github.com/etcd-io/etcd/blob/main/CONTRIBUTING.md#contribution-flow.