Skip to content

Add dep-collector and licenseclassifier to prow-tests image#22

Merged
google-prow-robot merged 1 commit intoknative:masterfrom
adrcunha:license-checker
Jul 21, 2018
Merged

Add dep-collector and licenseclassifier to prow-tests image#22
google-prow-robot merged 1 commit intoknative:masterfrom
adrcunha:license-checker

Conversation

@adrcunha
Copy link
Copy Markdown
Contributor

These two tools are used during presubmit tests for checking the licenses in dependencies.

These two tools are used during presubmit tests for checking the licenses in dependencies.
@google-prow-robot
Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: adrcunha

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@google-prow-robot google-prow-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Jul 21, 2018
@adrcunha adrcunha requested review from srinivashegde86 and removed request for steuhs July 21, 2018 07:56
RUN apt-get install -y uuid-runtime # for uuidgen
RUN go get github.com/google/go-containerregistry/cmd/ko
RUN go get github.com/golang/dep/cmd/dep
RUN go get github.com/mattmoor/dep-collector
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mattmoor , will dep-collector be merged into ko later?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, it's pretty orthogonal.

@jessiezcc
Copy link
Copy Markdown
Contributor

Better to rename dep-collector repo later (@mattmoor), but looks good for now.
/lgtm

@google-prow-robot google-prow-robot added the lgtm Indicates that a PR is ready to be merged. label Jul 21, 2018
@google-prow-robot google-prow-robot merged commit d3a76d1 into knative:master Jul 21, 2018
@adrcunha adrcunha deleted the license-checker branch July 21, 2018 16:11
@adrcunha
Copy link
Copy Markdown
Contributor Author

Yes, Matt has furher plans for his tool, but right now we mostly want to get the license generation fixed.

@mattmoor
Copy link
Copy Markdown
Member

@jessiezcc @adrcunha This was a tactical short-term thing to unblock us, I really don't want to maintain dep-collector indefinitely, but it was a necessary evil in the short-term.

We should talk to the OSPO folks that own https://github.com/google/licenseclassifier about taking on ownership so that teams like us, K8s and Istio don't have to roll our own, and can have some sort of presubmit checking for forbidden licenses (as we now do).

At the very least, we should find this repo a better home :)

google-prow-robot pushed a commit to knative/build that referenced this pull request Jul 22, 2018
* Use dep-collector from prow-tests image

We're consolidating the test infrastructure into a single place, so all repos get the same fixes, updates and new features.

`dep-collector` was added to prow-tests image in knative/test-infra#22 and `update_licenses()` in knative/test-infra#24

Bonus: also remove `ko` as a dependency, since it's also already installed in prow-tests image.

* Fix comment
google-prow-robot pushed a commit to knative/eventing that referenced this pull request Jul 23, 2018
We're consolidating the test infrastructure into a single place, so all repos get the same fixes, updates and new features.

`dep-collector` was added to prow-tests image in knative/test-infra#22 and `update_licenses()` in knative/test-infra#24

Bonus: also remove `ko` as a dependency, since it's also already installed in prow-tests image.
google-prow-robot pushed a commit to knative/serving that referenced this pull request Jul 23, 2018
We're consolidating the test infrastructure into a single place, so all repos get the same fixes, updates and new features.

dep-collector was added to prow-tests image in knative/test-infra#22
bbrowning pushed a commit to bbrowning/serving that referenced this pull request Oct 5, 2018
We're consolidating the test infrastructure into a single place, so all repos get the same fixes, updates and new features.

dep-collector was added to prow-tests image in knative/test-infra#22
vdemeester pushed a commit to vdemeester/knative-build that referenced this pull request Apr 3, 2019
* Use dep-collector from prow-tests image

We're consolidating the test infrastructure into a single place, so all repos get the same fixes, updates and new features.

`dep-collector` was added to prow-tests image in knative/test-infra#22 and `update_licenses()` in knative/test-infra#24

Bonus: also remove `ko` as a dependency, since it's also already installed in prow-tests image.

* Fix comment
vdemeester pushed a commit to vdemeester/knative-build that referenced this pull request Apr 3, 2019
* Use dep-collector from prow-tests image

We're consolidating the test infrastructure into a single place, so all repos get the same fixes, updates and new features.

`dep-collector` was added to prow-tests image in knative/test-infra#22 and `update_licenses()` in knative/test-infra#24

Bonus: also remove `ko` as a dependency, since it's also already installed in prow-tests image.

* Fix comment
Cynocracy pushed a commit to Cynocracy/test-infra that referenced this pull request Jun 13, 2020
Cynocracy pushed a commit to Cynocracy/test-infra that referenced this pull request Jul 22, 2020
* Removes unwanted timeout setting

* fix timeouts in unit test
Cynocracy pushed a commit to Cynocracy/test-infra that referenced this pull request Jul 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants