Skip to content
This repository was archived by the owner on Jul 30, 2021. It is now read-only.

Commit d78b135

Browse files
committed
Add manually vendored libs into make target
1 parent 06ba419 commit d78b135

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,11 @@ conformance-%: clean all
7373
@sleep 30 # Give addons a little time to start
7474
@cd hack/$*-node && ./conformance-test.sh
7575

76+
#TODO: curl/sed "vendored" libs is gross - come up with something better
7677
vendor:
7778
@dep ensure -v
79+
@curl https://raw.githubusercontent.com/kubernetes/kubernetes/v1.10.3/pkg/kubelet/util/util.go | sed 's/^package util$$/package internal/' > pkg/checkpoint/internal/util.go
80+
@curl https://raw.githubusercontent.com/kubernetes/kubernetes/v1.10.3/pkg/kubelet/util/util_unix.go | sed 's/^package util$$/package internal/' > pkg/checkpoint/internal/util_unix.go
7881
@CGO_ENABLED=1 go build -o _output/bin/license-bill-of-materials ./vendor/github.com/coreos/license-bill-of-materials
7982
@./_output/bin/license-bill-of-materials ./cmd/bootkube ./cmd/checkpoint > bill-of-materials.json
8083

0 commit comments

Comments
 (0)