-
Notifications
You must be signed in to change notification settings - Fork 89
Fix trivy scan flow #2310
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
Fix trivy scan flow #2310
Conversation
✅ Deploy Preview for kubernetes-sigs-cluster-api-ibmcloud ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
/cc @Amulyam24 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Prajyot-Parab, any reason for adding a new script for installing trivy?
currently we are updating the version and installing via make.
The present approach to build binary fails with following error -
This is because the docker package getting installed is not compatible with the one trivy needs, (as some other package needs latest docker), so now I am switching to directly download the binary rather than building it, this is inline with CAPI approach. |
Can we remove the duplicate code which will not be used? |
The challenge with this approach is that you will not be able to run this on ppc64le environment. |
agreed. However this seems like the only way right now to get |
As per my prior comment, we will switch back to that approach once we have present build issue fixed in future |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/hold |
/retest |
Signed-off-by: Prajyot-Parab <[email protected]>
Yes removed, trivy is available for ppc64le as well so this approach should hold good in future too. |
/unhold |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Amulyam24, Prajyot-Parab 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 |
What this PR does / why we need it:
avoid build error -
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #2328
Special notes for your reviewer:
/area provider/ibmcloud
Release note: