Commit Graph

7025 Commits

Author SHA1 Message Date
Jingfang Liu
696ec9b171 change kinflate to kustomize 2018-04-11 11:21:31 -07:00
Sean Sullivan
f640a250d9 Simplified Loader.New() to always take a directory (not a file) 2018-02-28 11:41:18 -08:00
Sean Sullivan
62655260a6 Allow fake loader be initialized with directory 2018-02-27 15:30:32 -08:00
Sean Sullivan
2a5e1b5acb Update FakeLoader for simpler interface; FakeLoader uses real Loader 2018-02-27 12:43:01 -08:00
Sean Sullivan
59031c1d08 Updated loader test to remove variables and logic; makes test easier to validated and reason about 2018-02-26 16:32:14 -08:00
Sean Sullivan
560e29408e Move fake loader into its own package 2018-02-26 15:38:48 -08:00
Sean Sullivan
dcc56032ac Fix for FakeLoader to add new Root() method in Loader interface 2018-02-26 13:28:03 -08:00
Sean Sullivan
f0b42c4e06 Merge remote-tracking branch 'origin/master' into kinflate-refactor 2018-02-26 13:25:14 -08:00
Sunil Arora
2848fcf962 kinflate: configmap resource implementation using loader 2018-02-26 11:32:51 -08:00
Sean Sullivan
2803503e3a Refactor Loader interface 2018-02-26 10:42:07 -08:00
Sean Sullivan
c7ec56e3e5 Refactor Loader interface 2018-02-22 15:38:43 -08:00
Mengqi Yu
194d845fc9 initial commit for file loader 2018-02-20 18:12:39 -08:00
Jeffrey Regan
824b51eb84 Make test failures easier to see and understand. 2018-02-13 13:20:32 -08:00
Jeffrey Regan
a90a3cff3a add demo testing 2018-02-09 16:36:53 -08:00
Antoine Pelisse
5a1052f6b1 Don't fetch fw/test binary anymore 2018-02-07 09:40:55 -08:00
Antoine Pelisse
9344d3610a 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
aad4b1b328 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
f229571edb Install ginkgo 2017-11-29 17:22:45 +00:00
Hannes Hörl
3ac8575ed8 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
beaadd7f04 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
b9575a8eb7 Tweak pre-commit to ignore vendor directory. 2017-11-20 17:21:59 -08:00
jregan
e46a805324 Tweak travis early exit 2017-10-28 13:47:12 -07:00
Jeffrey Regan
af3e1d7b1b Skip CICD build on markdown or doc changes. 2017-10-28 07:32:10 -07:00
Jeffrey Regan
4f0a99d509 tweakprecommit 2017-10-25 10:29:36 -07:00
Jeffrey Regan
208da81a53 Add travis CICD coverage.
Also, rename "kexpand" to "kinflate" to ease pronunciation.
2017-10-24 21:33:30 -07:00