Purge almost all memories of godep

This commit is contained in:
Tim Hockin 2020-05-07 19:34:58 -07:00
parent fad9e0650a
commit 04c2b1fbdc
5 changed files with 2 additions and 8 deletions

View File

@ -22,6 +22,5 @@ file-name generated.pb.go
file-name generated.proto
file-name types_swagger_doc_generated.go
path-prefix Godeps/
path-prefix vendor/
path-prefix pkg/generated/

3
.gitignore vendored
View File

@ -125,9 +125,6 @@ zz_generated_*_test.go
# This file used by some vendor repos (e.g. github.com/go-openapi/...) to store secret variables and should not be ignored
!\.drone\.sec
# Godeps workspace
/Godeps/_workspace
/bazel-*
*.pyc

View File

@ -730,7 +730,6 @@ function kube::build::copy_output() {
--prune-empty-dirs \
--filter='- /_temp/' \
--filter='+ /vendor/' \
--filter='+ /Godeps/' \
--filter='+ /staging/***/Godeps/**' \
--filter='+ /_output/dockerized/bin/**' \
--filter='+ zz_generated.*' \

View File

@ -155,7 +155,7 @@ def file_extension(filename):
return os.path.splitext(filename)[1].split(".")[-1].lower()
skipped_dirs = ['Godeps', 'third_party', '_gopath', '_output', '.git', 'cluster/env.sh',
skipped_dirs = ['third_party', '_gopath', '_output', '.git', 'cluster/env.sh',
"vendor", "test/e2e/generated/bindata.go", "hack/boilerplate/test",
"staging/src/k8s.io/kubectl/pkg/generated/bindata.go"]

View File

@ -46,8 +46,7 @@ function kfind() {
\( \
-path ./_\* -o \
-path ./.\* -o \
-path ./vendor -o \
-path ./Godeps \
-path ./vendor \
\) -prune \
\) \
\) \