Add kubernetes-test.tar.gz

Add test artifacts to the build. This lets you do:

tar -xzf kubernetes.tar.gz
tar -xzf kubernetes-test.tar.gz
cd kubernetes
go run ./hack/e2e.go -up -test -down

without having a git checkout.
This commit is contained in:
Zach Loafman
2014-12-17 11:41:47 -08:00
parent 7c66ebe2e0
commit d3aed6c9cd
4 changed files with 39 additions and 1 deletions

View File

@@ -48,6 +48,15 @@ readonly KUBE_TEST_TARGETS=(
cmd/integration
)
readonly KUBE_TEST_BINARIES=("${KUBE_TEST_TARGETS[@]##*/}")
readonly KUBE_TEST_BINARIES_WIN=("${KUBE_TEST_BINARIES[@]/%/.exe}")
readonly KUBE_TEST_PORTABLE=(
api/examples/pod.json
cmd/e2e/pod.json
contrib/for-tests/network-tester/rc.json
contrib/for-tests/network-tester/service.json
hack/e2e.go
hack/e2e-suite
)
# If we update this we need to also update the set of golang compilers we build
# in 'build/build-image/Dockerfile'