Skip to content

Commit

Permalink
Remove third_party directory
Browse files Browse the repository at this point in the history
The third_party directory contains source code of some of our third_party
dependencies that need to be distributed with the built images as required by
their licenses. However, our publish-triggers-release task [1] already includes the
source code of all of our dependencies in the image rendering the separate
third_party directory redundant.

This is a port of tektoncd/pipeline#6416

[1] https://github.com/tektoncd/triggers/blob/2713832b025b804db4d8d7af48e4f944511b490f/tekton/publish.yaml#L104-L117

Signed-off-by: Dibyo Mukherjee <[email protected]>
  • Loading branch information
dibyom committed Apr 19, 2023
1 parent 2713832 commit aaf2ec1
Show file tree
Hide file tree
Showing 166 changed files with 1 addition and 17,165 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ MODULE = $(shell env GO111MODULE=on $(GO) list -m)
DATE ?= $(shell date +%FT%T%z)
VERSION ?= $(shell git describe --tags --always --dirty --match=v* 2> /dev/null || \
cat $(CURDIR)/.version 2> /dev/null || echo v0)
PKGS = $(or $(PKG),$(shell env GO111MODULE=on $(GO) list ./... | grep -v 'github\.com\/tektoncd\/triggers\/third_party\/'))
PKGS = $(or $(PKG),$(shell env GO111MODULE=on $(GO) list ./...))
TESTPKGS = $(shell env GO111MODULE=on $(GO) list -f \
'{{ if or .TestGoFiles .XTestGoFiles }}{{ .ImportPath }}{{ end }}' \
$(PKGS))
Expand Down
1 change: 0 additions & 1 deletion cmd/controller/kodata/third_party

This file was deleted.

1 change: 0 additions & 1 deletion cmd/eventlistenersink/kodata/third_party

This file was deleted.

1 change: 0 additions & 1 deletion cmd/webhook/kodata/third_party

This file was deleted.

1 change: 0 additions & 1 deletion hack/update-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,3 @@ if [[ -d hack/patches ]];then
done
fi

update_licenses third_party/
27 changes: 0 additions & 27 deletions third_party/LICENSE

This file was deleted.

202 changes: 0 additions & 202 deletions third_party/cloud.google.com/go/compute/metadata/LICENSE

This file was deleted.

Loading

0 comments on commit aaf2ec1

Please sign in to comment.