k3s/build/root
Kubernetes Submit Queue 18b84758aa Merge pull request #51229 from ixdy/always-create-vendor-BUILD
Automatic merge from submit-queue

Always create vendor/BUILD in hack/update-bazel.sh

**What this PR does / why we need it**: makes sure there's always a `vendor/BUILD` file.
When updating `godeps`, the [instructions](https://github.com/kubernetes/community/blob/master/contributors/devel/godep.md) say to recursively remove `vendor/`, which also removes the `vendor/BUILD` file. Unless you manually recreate this file, running `update-bazel.sh` would instead update the `all-srcs` rule in the root `BUILD.bazel` file, which is not desired. `gazelle` and `kazel` won't create `vendor/BUILD` on their own, since there are no go sources directly in `vendor/`. 

With this PR, we'll make sure that the `vendor/BUILD` file always exists, creating it if necessary.

**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #51075

**Release note**:

```release-note
NONE
```

/assign @spxtr @mikedanese 
cc @thockin
2017-08-25 03:15:36 -07:00
..
.bazelrc Use --sandbox_fake_username with bazel build 2017-07-31 13:01:40 -07:00
.kazelcfg.json Use gazelle and kazel together to manage BUILD files 2017-08-11 09:30:23 -07:00
BUILD.root Merge pull request #51229 from ixdy/always-create-vendor-BUILD 2017-08-25 03:15:36 -07:00
Makefile Remove kubectl's dependence on schema file in pkg/api/validation. 2017-08-16 16:38:28 -07:00
Makefile.generated_files Makefile cleanups 2017-08-21 15:42:45 -07:00
WORKSPACE Bump repo-infra dependency to fix go_genrule without sandboxing 2017-08-23 13:11:03 -07:00