added copy.sh which cuts the client repo; made necessary changes to scripts in

the repo to cope with the client repo staging area; added symlink
vendor/k8s.io/client-go which pointed to the staging area.
This commit is contained in:
Chao Xu
2016-08-05 22:56:30 -07:00
parent a771578a1c
commit bc8d572f3a
8 changed files with 188 additions and 4 deletions

View File

@@ -26,7 +26,7 @@ kube::golang::setup_env
kube::test::find_dirs() {
(
cd ${KUBE_ROOT}
find . -not \( \
find -L . -not \( \
\( \
-path './_artifacts/*' \
-o -path './_output/*' \
@@ -39,10 +39,16 @@ kube::test::find_dirs() {
-o -path './test/e2e_node/*' \
-o -path './test/integration/*' \
-o -path './test/component/scheduler/perf/*' \
-o -path './third_party/*'\
-o -path './vendor/*'\
-o -path './third_party/*' \
-o -path './staging/*' \
-o -path './vendor/*' \
\) -prune \
\) -name '*_test.go' -print0 | xargs -0n1 dirname | sed 's|^\./||' | sort -u
find -L . \
-path './_output' -prune \
-o -path './vendor/k8s.io/client-go/*' \
-name '*_test.go' -print0 | xargs -0n1 dirname | sed 's|^\./||' | sort -u
)
}