Commit graph

240 commits

Author SHA1 Message Date
Christoph Mertz
65968cf540 remove gosimple offences 2021-02-19 17:01:54 +01:00
Yann Hamon
e4f6eae348
Merge pull request #34 from yannh/push-docker-image
Github action - build docker image
2021-02-14 15:40:58 +01:00
Yann Hamon
79bd213bce Github action - build docker image 2021-02-14 15:38:49 +01:00
Yann Hamon
61e708277d Use a custom, more up-to-date fork of kubernetes-json-schema by default 2021-01-24 01:17:35 +01:00
Yann Hamon
3ce3992c23
Merge pull request #29 from yannh/test-without-network
Run some acceptance tests without network
2021-01-09 13:00:25 +01:00
Yann Hamon
e99589adab move cache file to fixtures/cache 2021-01-09 12:57:56 +01:00
Yann Hamon
f564719d74 Run some acceptance tests with network disabled 2021-01-09 01:07:43 +01:00
Yann Hamon
bcf1fc9568
Merge pull request #25 from PaytmLabs/feature/scripts/pretty-json
scripts: Pretty print JSON schemas
2021-01-04 21:49:47 +01:00
Maxime Brunet
5ad6b481be
scripts: Pretty print JSON schemas 2021-01-04 11:28:45 -08:00
Yann Hamon
558c364dbc update Readme 2021-01-02 14:29:06 +01:00
Yann Hamon
d53c2e9913 update config test 2021-01-02 14:22:45 +01:00
Yann Hamon
1cfbacd92c Add acceptance tests for TAP output 2021-01-02 14:20:54 +01:00
Yann Hamon
c1f0e9010d add tests for yaml scanning 2021-01-02 14:06:13 +01:00
Yann Hamon
c664451a9d Merge branch 'master' of github.com:yannh/kubeconform 2021-01-02 12:53:03 +01:00
Yann Hamon
92f8f4593d break down FromFiles for easier testing 2021-01-02 12:52:58 +01:00
Yann Hamon
f7a9c86717 Add / update a few tests 2021-01-02 12:32:12 +01:00
Yann Hamon
e9206c347e
Merge pull request #23 from PaytmLabs/hotfix/scripts/multi-version-schema
scripts: Fix creation of schema from multi-version CRD
2021-01-02 12:13:38 +01:00
Yann Hamon
75bfad4108
Merge pull request #22 from PaytmLabs/feature/scripts/filename-format
scripts: Support for alternative filename format
2021-01-02 12:12:45 +01:00
Yann Hamon
c959d79ae4
Merge pull request #24 from yannh/fs-cache
Cache schemas downloaded over HTTP
2021-01-02 12:00:06 +01:00
Yann Hamon
128fcf993b fail early when cache folder does not exist 2021-01-02 11:57:52 +01:00
Yann Hamon
56a281afdb update readme 2021-01-01 16:05:00 +01:00
Yann Hamon
18927ddf75 cache schemas downloaded over HTTP 2021-01-01 15:49:18 +01:00
Maxime Brunet
87183acf5f
scripts: Fix creation of schema from multi-version CRD 2020-12-29 12:10:11 -08:00
Yann Hamon
1a76217195 fix - do try following schema registries when schema not found in local registry 2020-12-29 19:16:28 +01:00
Maxime Brunet
dd5db71b1a
scripts: Support for alternative filename format 2020-12-29 09:49:20 -08:00
Yann Hamon
9a56fc4176 Indicate field on validation error 2020-12-28 13:03:36 +01:00
Yann Hamon
f6e6f7584c support for multi-document yaml in openapi2jsonschema 2020-12-28 11:08:05 +01:00
Yann Hamon
509ad8e997 add test for missing apiVersion - better error message 2020-12-23 18:25:46 +01:00
Yann Hamon
031f83cbde linting 2020-12-15 22:20:02 +01:00
Yann Hamon
0bbee68c49 update verbose desc 2020-12-15 22:12:41 +01:00
Yann Hamon
532f07ed75 Merge branch 'master' of github.com:yannh/kubeconform into perf 2020-12-15 22:09:24 +01:00
Yann Hamon
69e2fc8ba9 Add TAP header 2020-12-15 22:09:07 +01:00
Yann Hamon
384f3266d1
Merge pull request #20 from yannh/perf
Improvements in tap output
2020-12-15 21:59:40 +01:00
Yann Hamon
07dec90112 tap plan can be at the end, that way we can stream the output and not buffer 2020-12-15 21:54:44 +01:00
Yann Hamon
706488cafb
Merge pull request #19 from yannh/perf
Performance improvement
2020-12-15 20:01:02 +01:00
Yann Hamon
c5aa8e6da3 fix closing files 2020-12-15 19:36:22 +01:00
Yann Hamon
29a8f4c09e avoid double unmarshalling 2020-12-15 18:35:33 +01:00
Yann Hamon
4afe9b1977 reduce allocations done when splitting 2020-12-15 17:04:44 +01:00
Yann Hamon
11a3e8f64f add cpu profiling 2020-12-15 16:27:25 +01:00
Yann Hamon
a71d1eb59b
Merge pull request #18 from yannh/add-tap-support
Add tap support
2020-12-15 13:26:26 +01:00
Yann Hamon
9b793c2533 update readme 2020-12-15 13:23:38 +01:00
Yann Hamon
8c6e855239 support tap output 2020-12-15 13:22:52 +01:00
Yann Hamon
b2d05f0ed2
Merge pull request #16 from yannh/add-tests
Add tests
2020-11-29 16:13:29 +01:00
Yann Hamon
48207c131e check for race conditions when running tests 2020-11-29 16:11:04 +01:00
Yann Hamon
43b5c5c152 add tests to DownloadSchema 2020-11-29 16:09:12 +01:00
Yann Hamon
b524ace87f fix usage of context 2020-11-16 01:01:13 +01:00
Yann Hamon
f63d329742 throw error when file with key/values is missing a Kind, add acc test 2020-11-15 23:44:15 +01:00
Yann Hamon
d0ac45222c sort tests 2020-11-15 20:27:44 +01:00
Yann Hamon
cafdb09f6f comment 2020-11-15 20:25:16 +01:00
Yann Hamon
651d3b2c50 fail early when a broken -schema-location template is given 2020-11-15 20:23:37 +01:00