mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-10 05:30:26 +00:00
Ignore _gopath in verify scripts
The _gopath directory is used in Jenkins to install extra dependencies, and any files in it should be ignored by the various verification scripts.
This commit is contained in:
@@ -241,11 +241,12 @@ kube::util::gen-analytics() {
|
||||
else
|
||||
dir="${path}"
|
||||
fi
|
||||
# We don't touch files in Godeps|third_party, and the kubectl
|
||||
# We don't touch files in Godeps|third_party|_gopath, and the kubectl
|
||||
# docs are autogenerated by gendocs.
|
||||
mdfiles=($( find "${dir}" -name "*.md" -type f \
|
||||
-not -path "${path}/Godeps/*" \
|
||||
-not -path "${path}/third_party/*" \
|
||||
-not -path "${path}/_gopath/*" \
|
||||
-not -path "${path}/_output/*" \
|
||||
-not -path "${path}/docs/user-guide/kubectl/kubectl*" ))
|
||||
for f in "${mdfiles[@]}"; do
|
||||
|
Reference in New Issue
Block a user