Commit graph

265 commits

Author SHA1 Message Date
Yann Hamon
3a697f3ce2 validate against master by default, not 1.18.0 2021-07-11 22:53:23 +02:00
Yann Hamon
0a14aae014
Merge pull request #56 from chenrui333/go-1.16
chore: update to use go 1.16
2021-07-04 20:49:19 +02:00
Rui Chen
892b3807fe chore: update makefile to use go1.16
Signed-off-by: Rui Chen <rui@chenrui.dev>
2021-07-03 17:15:55 -04:00
Rui Chen
affc63bb18 deps: use go 1.16 2021-07-03 17:14:51 -04:00
Yann Hamon
c4b044f3be
Merge pull request #54 from yannh/list-support
Support for lists
2021-07-03 16:03:21 +02:00
Yann Hamon
df386fc1fd Reformat strings 2021-07-03 16:01:51 +02:00
Yann Hamon
a053bbabe1 Merge branch 'master' of github.com:yannh/kubeconform into list-support 2021-07-03 15:58:25 +02:00
Yann Hamon
4eb75860d9 support for lists 2021-07-03 15:49:37 +02:00
Yann Hamon
5ed3ddac8a
Merge pull request #52 from chenrui333/doc/add-homebrew-install
doc: add homebrew install instruction
2021-07-01 17:16:03 +02:00
Yann Hamon
49d434dc4a
Update Readme.md 2021-07-01 17:15:31 +02:00
Rui Chen
803bf58797 add homebrew release badge
Signed-off-by: Rui Chen <rui@chenrui.dev>
2021-07-01 10:51:17 -04:00
Rui Chen
f1db99db6a doc: add homebrew install instruction
Signed-off-by: Rui Chen <rui@chenrui.dev>
2021-06-30 13:42:33 -04:00
Yann Hamon
2e7c2bfe33
Merge pull request #49 from davidholsgrove/skip-empty-docs
Skip empty yaml docs
2021-05-24 11:53:49 +02:00
David Holsgrove
d94454920b
Skip empty yaml docs - for yaml files with a structure like
```
# comment
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
```
2021-05-24 16:05:19 +10:00
Yann Hamon
fa1cb37020 Add documentation on how to use kubeconform as a Github Action 2021-03-31 22:12:55 +02:00
Yann Hamon
e4d5505c10 Migrate to Github Container Registry 2021-03-31 21:51:50 +02:00
Yann Hamon
173394f80a Migrate to Github Container Registry 2021-03-31 21:47:55 +02:00
Yann Hamon
77682c3142 fix junit test 2021-03-30 15:31:42 +02:00
Yann Hamon
44f8d53d02
Merge pull request #44 from cvillers/junit-report
Add jUnit XML output formatter
2021-03-30 15:22:54 +02:00
Cameron Villers
e6e9eb8698 Add jUnit XML output formatter 2021-03-28 21:49:59 -04:00
Yann Hamon
a5a34675c0 Fix usage of -h 2021-03-08 18:14:24 +01:00
Yann Hamon
19441d8182
Merge pull request #42 from yannh/fix-stdin-behaviour
Only read from stdin when no other files/folders given
2021-03-08 00:00:52 +01:00
Yann Hamon
6308d55977 only read from stdin when no other files/folders given 2021-03-07 23:59:13 +01:00
Yann Hamon
b10927a052 Update Readme, add 'default' value for -schema-location parameter 2021-02-27 16:37:24 +01:00
Yann Hamon
171d894752
Merge pull request #36 from cmertz/remove-gosimple-warnings
remove gosimple offences
2021-02-27 15:05:02 +01:00
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