-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
🌱 Add licence-scan for pull requests #9184
🌱 Add licence-scan for pull requests #9184
Conversation
/area ci |
fd0704b
to
f4863d3
Compare
/cherry-pick release-1.5 |
@killianmuldoon: once the present PR merges, I will cherry-pick it on top of release-1.5 in a new PR and assign it to you. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/cherry-pick release-1.4 |
@killianmuldoon: once the present PR merges, I will cherry-pick it on top of release-1.4 in a new PR and assign it to you. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
f4863d3
to
e9abe9f
Compare
TRACE=$(TRACE) ./hack/verify-container-images.sh $(TRIVY_VER) | ||
|
||
.PHONY: verify-licenses | ||
verify-licenses: ## Verify licenses |
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.
verify-licenses: ## Verify licenses | |
verify-licenses: $(TRIVY) ## Verify licenses |
Should we start running ensure-trivy.sh
as a separate target to fetch the binary (including the versioned binary + symlink to the version) as we do for go install
based tools?
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.
note: I could also take this as a follow-up
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.
Not sure given it's just a download - I'm fine either way though.
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.
Would be a nice follow-up
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.
Now that I reviewed the PR. I'm fine with the current version. I think the most important part is that we always use the right version specified in the Makefile (which we do)
Would be still nice to follow-up for consistency though
e9abe9f
to
7668815
Compare
289fec5
to
864dba4
Compare
fc68b01
to
b891221
Compare
b891221
to
efbaabb
Compare
Current state:
|
efbaabb
to
78c2d08
Compare
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.
Nice work. Thank you very much for working on this!
TRACE=$(TRACE) ./hack/verify-container-images.sh $(TRIVY_VER) | ||
|
||
.PHONY: verify-licenses | ||
verify-licenses: ## Verify licenses |
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.
Now that I reviewed the PR. I'm fine with the current version. I think the most important part is that we always use the right version specified in the Makefile (which we do)
Would be still nice to follow-up for consistency though
c173312
to
294267b
Compare
Last nit: #9184 (comment) |
Signed-off-by: killianmuldoon <kmuldoon@vmware.com>
294267b
to
291ea46
Compare
Thank you! /approve /assign @chrischdi |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: sbueringer 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 |
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
LGTM label has been added. Git tree hash: 1cf49f28629713a5187694d08d8b969f3cb8317b
|
@killianmuldoon: #9184 failed to apply on top of branch "release-1.5":
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@killianmuldoon: #9184 failed to apply on top of branch "release-1.4":
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@@ -22,48 +22,25 @@ if [[ "${TRACE-0}" == "1" ]]; then | |||
set -o xtrace | |||
fi | |||
|
|||
TRIVY_VERSION=0.34.0 | |||
VERSION=${1} | |||
|
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.
@killianmuldoon Found in https://github.com/kubernetes-sigs/cluster-api-provider-vsphere/pull/2299/files. We probably still want to set GO_ARCH
This adds a trivy license scan to the Makefile
verify
target which runs on all pull requests. This should allow detection of undesired license changes in go dependencies.Related to #9181