Add glide.yaml and vendor deps
This commit is contained in:
parent
db918f12ad
commit
5b3d5e81bd
18880 changed files with 5166045 additions and 1 deletions
44
vendor/k8s.io/kubernetes/docs/devel/bazel.md
generated
vendored
Normal file
44
vendor/k8s.io/kubernetes/docs/devel/bazel.md
generated
vendored
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
# Build with Bazel
|
||||
|
||||
Building with bazel is currently experimental. Automanaged BUILD rules have the
|
||||
tag "automanaged" and are maintained by
|
||||
[gazel](https://github.com/mikedanese/gazel). Instructions for installing bazel
|
||||
can be found [here](https://www.bazel.io/versions/master/docs/install.html).
|
||||
|
||||
To build docker images for the components, run:
|
||||
|
||||
```
|
||||
$ bazel build //build-tools/...
|
||||
```
|
||||
|
||||
To run many of the unit tests, run:
|
||||
|
||||
```
|
||||
$ bazel test //cmd/... //build-tools/... //pkg/... //federation/... //plugin/...
|
||||
```
|
||||
|
||||
To update automanaged build files, run:
|
||||
|
||||
```
|
||||
$ ./hack/update-bazel.sh
|
||||
```
|
||||
|
||||
**NOTES**: `update-bazel.sh` only works if check out directory of Kubernetes is "$GOPATH/src/k8s.io/kubernetes".
|
||||
|
||||
To update a single build file, run:
|
||||
|
||||
```
|
||||
$ # get gazel
|
||||
$ go get -u github.com/mikedanese/gazel
|
||||
$ # .e.g. ./pkg/kubectl/BUILD
|
||||
$ gazel -root="${YOUR_KUBE_ROOT_PATH}" ./pkg/kubectl
|
||||
```
|
||||
|
||||
Updating BUILD file for a package will be required when:
|
||||
* Files are added to or removed from a package
|
||||
* Import dependencies change for a package
|
||||
|
||||
|
||||
<!-- BEGIN MUNGE: GENERATED_ANALYTICS -->
|
||||
[]()
|
||||
<!-- END MUNGE: GENERATED_ANALYTICS -->
|
||||
Loading…
Add table
Add a link
Reference in a new issue