Commit Graph

31 Commits

Author SHA1 Message Date
Benjamin Elder
ac02163991 update verify-bazel.sh comments 2021-03-07 13:02:39 -08:00
Benjamin Elder
95e4a6bcda remove now-unecessary logic from hack/verify-bazel.sh 2021-02-28 15:16:53 -08:00
Walter Fender
a47b8d0a3c Handle clean up of read only files.
verify-bazel seems to create read only files under its tmp dir.
When it then goes to clean up the tmp dir it fails.
Adding a command prior to delete to make sure we have perms.
2020-06-03 13:31:18 -07:00
Jin Hase
e1eabf8576 Add comments in several hack/verify-*.sh 2020-01-16 13:54:58 +09:00
Dr. Stefan Schimanski
53a7dcdee9 bazel: add openapi generation for non-main spec and fix main spec 2019-07-13 16:18:32 +02:00
mattjmcnaughton
214b910511 Fix shellcheck errors for some scripts in hack/
Five more of the hack/verify-* scripts now pass shellcheck and have been
removed from hack/.shellcheck_failures.
2019-02-19 10:08:15 -05:00
Jeff Grafton
3ed87e2ac2 Fully resolve tmpdir in verify scripts, since it might be a symlink on macOS 2018-04-06 16:37:19 -07:00
Tim Hockin
3e583de0ac Vendor gazelle 2018-03-29 17:01:30 -07:00
Christoph Blecker
6375e2b24d
Route verify-bazel output to stderr 2018-02-07 21:39:38 -08:00
Jeff Grafton
32551a3322 Use -proto=legacy with gazelle, and manually fix staging/ import paths 2017-10-15 18:13:56 -07:00
Jeff Grafton
638ea5205f Update rules_go, repo-infra, and rules_docker dependencies
This requires bazel 0.6.0+.
2017-10-15 18:13:56 -07:00
Jeff Grafton
795d09a800 Always create vendor/BUILD in hack/update-bazel.sh 2017-08-24 14:05:57 -07:00
Jeff Grafton
671cd2bc6b Bump repo-infra dependency to fix go_genrule without sandboxing 2017-08-23 13:11:03 -07:00
Jeff Grafton
eab549a678 Bump repo-infra/kazel dependency 2017-08-16 14:31:45 -07:00
Jeff Grafton
cce84c3e19 Use gazelle and kazel together to manage BUILD files 2017-08-11 09:30:23 -07:00
Jeff Grafton
e2ce25da4b Update kazel to include kubernetes/repo-infra#21 2017-08-02 18:32:50 -07:00
Jeff Grafton
64b0c9ec47 Switch from gazel to kazel, and move kazelcfg into build/root 2017-07-18 12:48:51 -07:00
Jeff Grafton
ed7c75e324 Update gazel to v17 2017-04-27 15:01:34 -07:00
Joe Finney
8e84a9aedc Add go_genrule for zz_generated.openapi.go.
Clean zz_generated.openapi.go before running gazel.
2017-04-25 17:51:36 -07:00
Mike Danese
59fc948a06 bump rules_go and go version for bazel builds
and bump gazel to a version that supports 1.8
2017-04-25 11:23:33 -07:00
Jeff Grafton
37dda6c2fd If we already have the right version of gazel installed, use it 2017-03-29 09:32:34 -07:00
Mike Danese
cbe5bd97b4 bump gazel to v14 2017-02-09 11:09:13 -08:00
Mike Danese
04a7880b61 update repo local config to allow redirects from gopkg.in 2017-02-02 10:20:17 -08:00
Jeff Grafton
ab0c903c7f Update to gazel v13 2017-01-05 14:14:06 -08:00
Mike Danese
087016dd1c update gazel to v8 2016-12-29 13:01:42 -08:00
Mike Danese
837eee43ac pin gazel to v3 2016-12-12 13:30:06 -08:00
Mike Danese
93f737eae6 fix verify-bazel.sh on mac and windows
mac bash doesn't like |& because mac bash is really old. the formating of wc
is also sligthly different then on linux

```
$ # on linux
$ echo -n | wc -l
0
$ # on mac
$ echo -n | wc -l
       0
```
2016-11-02 13:14:00 -07:00
Mike Danese
d380cb1da3 fix realpath issue on mac 2016-10-24 17:10:47 -07:00
Mike Danese
ea632fa813 Revert "disable bazel build"
This reverts commit ee15c80de2.
2016-10-24 14:47:26 -07:00
Mike Danese
ee15c80de2 disable bazel build 2016-10-22 15:50:06 -07:00
Mike Danese
a2eec91a53 add bazel presubmits to verify BUILD files are up to date 2016-10-21 17:32:33 -07:00