Commit Graph

8 Commits

Author SHA1 Message Date
Antoine Pelisse ec387513c1 pre-commit: Check gofmt output for errors
gofmt doesn't return an error exit code when it fails (because some
files are improperly formatted). Make sure that the output is empty
instead.
2018-01-16 09:15:55 -08:00
Hannes Hörl 1513093427 Integrate test framework tests properly
The test framework can now run properly with `go test` and we can remove
- our test wrapper
- special handling of tests for the test framewoek
2017-12-06 14:46:02 +00:00
Hannes Hörl a304d58fe5 Install ginkgo 2017-11-29 17:22:45 +00:00
Hannes Hörl ccb54d246a Make `pre-commit.sh` work with the test framework
Eventually we want our framework to work nicely with just `go test`. To
get there we need to
- inject KUBE_ASSETS_DIR
- make the framework work when run multiple times in parallel (port
  collitions, expose bound ports the the subject under test, ...)

We decided to make sure our tests are run in sequence (and not in
parallel to any other thing using etcd, for that matter) by making this
explicit in the `pre-commit.sh` - for now.

As soon as we are there, we can rollback the change to the
`pre-commit.sh` end have the test framework be tested the same as
everything else.

[#153248975]
2017-11-29 15:20:41 +00:00
Antoine Pelisse c8548960ba Simplify travis script, work against `vendor/`
The current travis script currently fails if we have a `vendor/`
directory, and is also quite longer than necessary.
2017-11-28 11:22:07 -08:00
Jeffrey Regan 4b7a63c631 Tweak pre-commit to ignore vendor directory. 2017-11-20 17:21:59 -08:00
Jeffrey Regan 1139d1d57b tweakprecommit 2017-10-25 10:29:36 -07:00
Jeffrey Regan e7cac07c74 Add travis CICD coverage.
Also, rename "kexpand" to "kinflate" to ease pronunciation.
2017-10-24 21:33:30 -07:00