Convert everything to use vendor/

This commit is contained in:
Tim Hockin
2016-04-13 23:30:15 -07:00
parent 3c0c5ed4e0
commit cbf886c7f4
34 changed files with 84 additions and 84 deletions

View File

@@ -193,7 +193,7 @@ godep v53 (linux/amd64/go1.5.3)
### Using godep
Here's a quick walkthrough of one way to use godeps to add or update a Kubernetes dependency into Godeps/\_workspace. For more details, please see the instructions in [godep's documentation](https://github.com/tools/godep).
Here's a quick walkthrough of one way to use godeps to add or update a Kubernetes dependency into `vendor/`. For more details, please see the instructions in [godep's documentation](https://github.com/tools/godep).
1) Devote a directory to this endeavor:

View File

@@ -82,12 +82,12 @@ See [setup_host.sh](../../test/e2e_node/environment/setup_host.sh)
* **Requires password-less ssh and sudo access**
* Make sure this works - e.g. `ssh <hostname> -- sudo echo "ok"`
* If ssh flags are required (e.g. `-i`), they can be used and passed to the tests with `--ssh-options`
* `godep go run test/e2e_node/runner/run_e2e.go --logtostderr --hosts <comma separated hosts>`
* `go run test/e2e_node/runner/run_e2e.go --logtostderr --hosts <comma separated hosts>`
* **Must be run from kubernetes root**
* requires (go get): `github.com/tools/godep`, `github.com/onsi/gomega`, `github.com/onsi/ginkgo/ginkgo`
3. Alternatively, manually build and copy `e2e_node_test.tar.gz` to a remote host
* Build the tar.gz `godep go run test/e2e_node/runner/run_e2e.go --logtostderr --build-only`
* Build the tar.gz `go run test/e2e_node/runner/run_e2e.go --logtostderr --build-only`
* requires (go get): `github.com/tools/godep`, `github.com/onsi/gomega`, `github.com/onsi/ginkgo/ginkgo`
* Copy `e2e_node_test.tar.gz` to the remote host
* Extract the archive on the remote host `tar -xzvf e2e_node_test.tar.gz`

View File

@@ -107,7 +107,7 @@ $ go install golang.org/x/tools/cmd/stress
Then build your test binary
```
$ godep go test -c -race
$ go test -c -race
```
Then run it under stress

View File

@@ -84,10 +84,10 @@ hack/test-go.sh # Run all unit tests.
cd kubernetes
# Run all tests under pkg (requires client to be in $GOPATH/src/k8s.io)
godep go test ./pkg/...
go test ./pkg/...
# Run all tests in the pkg/api (but not subpackages)
godep go test ./pkg/api
go test ./pkg/api
```
### Stress running unit tests
@@ -135,7 +135,7 @@ To run benchmark tests, you'll typically use something like:
```sh
cd kubernetes
godep go test ./pkg/apiserver -benchmem -run=XXX -bench=BenchmarkWatch
go test ./pkg/apiserver -benchmem -run=XXX -bench=BenchmarkWatch
```
This will do the following: