Commit Graph

24 Commits (c10cc3decdd25717eaca5fccfd7cfebb3e09e5ec)

Author SHA1 Message Date
Andrzej Wasylkowski 9920fea527 Fixed the issue with formatting issues not being reported when verification fails. 2017-06-12 17:59:08 +02:00
Dr. Stefan Schimanski f6a2915f26 hack/*.sh: re-add staging dirs to verify+update scripts 2017-02-17 08:51:31 +01:00
Joe Finney 27cc32b84e Add verify-gofmt as a Bazel test.
Also, moved --flaky_test_attempts=3 out of .bazelrc since it was annoying.
2017-02-10 17:00:28 -08:00
Chao Xu b45e578ddd ignore staging in munge scripts 2016-08-24 13:09:13 -07:00
David McMahon ef0c9f0c5b Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
Janet Kuo 0f42def115 Fix incorrect gofmt hint 2016-05-26 10:27:45 -07:00
Tim Hockin 527cb50583 Demand at least go1.6 2016-05-08 20:30:37 -07:00
Tim Hockin cbf886c7f4 Convert everything to use vendor/ 2016-05-08 20:30:37 -07:00
gmarek c36e965c45 Change the go version checking in go format to the same as in contrib. 2016-04-08 10:14:01 -04:00
Eric Paris cbc4581bd6 Default to allow new golang versions
Out tests for features that didn't exist in old golang versions (like
gofmt didn't exist in 1.3 or the linker didn't want an = in 1.4) checked
for the new version. But this means every time there is a new version we
have to update the test. This PR inverts the test. We do it the old way
for the old version and if a new version comes along we just assume it
is going to work the new way.
2016-03-07 09:57:36 -05:00
Tim Hockin 0df07424e7 Make go version requirements clearer 2015-12-10 12:09:25 -08:00
Jeff Grafton 4cafa3e92d Ignore _gopath in verify scripts
The _gopath directory is used in Jenkins to install extra dependencies,
and any files in it should be ignored by the various verification
scripts.
2015-10-19 14:09:23 -07:00
Eric Paris 08d8bea61d Support 1.5 in verify-gofmt 2015-08-04 19:59:19 -04:00
Eric Paris 6b3a6e6b98 Make copyright ownership statement generic
Instead of saying "Google Inc." (which is not always correct) say "The
Kubernetes Authors", which is generic.
2015-05-01 17:49:56 -04:00
jayunit100 8d6c163650 Make gofmt message explicit about -s option 2015-04-06 00:12:06 -04:00
Eric Paris 9965604d4b check gofmt with golang 1.4 2015-02-20 10:31:06 -05:00
Joe Beda 5d33ce46cc Rework hack/ and build/ directories.
* Rewrite a bunch of the hack/ directory with modular reusable bash libraries.
* Have 'build/*' build on 'hack/*'.  The stuff in build now just runs hack/* in a docker container.
* Use a docker data container to enable faster incremental builds.
* Standardize output to _output/{local,dockerized}/bin/OS/ARCH/*.  This regularized placement makes cross compilation work.
* Move travis specific scripts under hack/travis

With new dockerized incremental builds, I can do a no-op `make quick-release` in ~30s.  This is a significant improvement.
2014-11-01 17:56:41 -07:00
Joe Beda 96c1bc17ca Set shell options for reliability.
Tweak a few other small things in our shell scripts.
2014-10-10 12:33:36 -07:00
Joe Beda d43a6ec5a3 Standardize how we refer to the kubernetes root.
Now use $KUBE_ROOT as the variable pretty much everywhere.
2014-10-10 12:33:36 -07:00
Daniel Smith 50eb2cf59c fix verify-gofmt's version detection 2014-09-24 14:25:21 -07:00
Joe Beda 843ae1fbe2 Rename `output/` directory to `_output/`
go build ./... will ignore any directory starting with an underscore.
2014-08-29 14:44:55 -07:00
Nan Monnand Deng eb462eba06 changed scripts to use godep 2014-08-13 15:02:14 -04:00
Daniel Smith 713a9488a2 Fix verification scripts to actually look at all go files. 2014-08-12 17:47:59 -07:00
Brendan Burns e5f36b8ec1 Disable gofmt for non go1.2 or go1.3 2014-07-01 11:25:59 -07:00