Commit graph

148 commits

Author SHA1 Message Date
Yann Hamon
59c23325d3 replace -schema with -local-registry 2020-06-07 18:59:03 +02:00
Yann Hamon
58363ddcfd specify CRD work is in progress 2020-06-07 15:58:39 +02:00
Yann Hamon
a9ad8b4290 Add ca certificates to docker image 2020-06-07 13:14:17 +02:00
Yann Hamon
798e99c50b update goreleaser 2020-06-07 12:04:40 +02:00
Yann Hamon
6655204442 fix validation logic - only first resource with a missing schema was reported 2020-06-07 11:53:05 +02:00
Yann Hamon
f7b7d9c3b0 Add gitignore 2020-06-07 11:35:51 +02:00
Yann Hamon
ae53238bbd goreleaser 2020-06-07 11:31:21 +02:00
Yann Hamon
9293920f2a add test to validate a folder 2020-06-06 18:46:08 +02:00
Yann Hamon
d9a6468d09 add a few comments on exported vars 2020-06-06 18:42:44 +02:00
Yann Hamon
7db0febbd1 move file finding to own function 2020-06-06 18:37:11 +02:00
Yann Hamon
c82866923c update acceptance tests / error mgmt 2020-06-06 18:31:22 +02:00
Yann Hamon
a938c47e2e handle files and dirs as parameters 2020-06-06 18:23:56 +02:00
Yann Hamon
cdcacb080d more unit tests 2020-06-06 16:32:27 +02:00
Yann Hamon
0d2da2d582 update readme 2020-06-06 01:06:49 +02:00
Yann Hamon
dcaf1bc608 files to validate should be passed without -file, for ease of use with xargs 2020-06-06 01:01:48 +02:00
Yann Hamon
8fed078b9e support schemas in YAML, added acceptance tests for parsing custom resources 2020-06-05 00:51:35 +02:00
Yann Hamon
10f5c29c8f update text output in acceptance tests 2020-06-05 00:04:29 +02:00
Yann Hamon
7bfb0b51f1 Display number of files / resources in text output 2020-06-04 23:59:50 +02:00
Yann Hamon
00880f68df fail on missing schemas by default, add -ignore-missing-schemas 2020-06-04 23:33:00 +02:00
Yann Hamon
09597ce907 Add Dockerfile.bats 2020-06-04 19:46:53 +02:00
Yann Hamon
87c1104f05 Add Dockerfile.bats 2020-06-04 19:43:19 +02:00
Yann Hamon
b46f7cc3c4 Run acceptance tests after build 2020-06-04 19:40:56 +02:00
Yann Hamon
deb60c1ec8 Add an example to the readme 2020-06-04 01:04:19 +02:00
Yann Hamon
110eb1173c adding some examples to the readme 2020-06-04 01:01:00 +02:00
Yann Hamon
c831801d82 Add Go Report Card to Readme 2020-06-04 00:53:12 +02:00
Yann Hamon
f64ecad867 Add comments on some exported resources 2020-06-04 00:51:36 +02:00
Yann Hamon
eb6a2b12b7 import some integration tests from kubeval 2020-06-04 00:42:12 +02:00
Yann Hamon
3751a26ae7 import some integration tests from kubeval 2020-06-04 00:33:01 +02:00
Yann Hamon
6a7affc438 remove redundant file 2020-06-02 00:18:32 +02:00
Yann Hamon
0eecf37d9b first acceptance test 2020-06-02 00:16:38 +02:00
Yann Hamon
cee6971ee9 fix bug - cache was not being used 2020-06-02 00:08:47 +02:00
Yann Hamon
6657ae9fd1 update readme 2020-06-01 23:34:53 +02:00
Yann Hamon
c3688407af cache can be nil 2020-06-01 23:33:46 +02:00
Yann Hamon
90e53c74d0 rename package files 2020-06-01 23:32:20 +02:00
Yann Hamon
42e5fd0c43 output write/flush return an error 2020-06-01 23:17:06 +02:00
Yann Hamon
dba9f97c1a add tests for text output, small fix 2020-06-01 23:09:31 +02:00
Yann Hamon
c3a25b9689 fix json output 2020-06-01 19:15:12 +02:00
Yann Hamon
f718b2c919 first simple test for json output 2020-06-01 19:09:53 +02:00
Yann Hamon
9b129d021a loggers take an io.writer 2020-06-01 17:15:52 +02:00
Yann Hamon
9f6965d10f add tests for skipKindsMap 2020-06-01 16:47:35 +02:00
Yann Hamon
2957043d95 readme CI badge now linking to github actions 2020-06-01 13:28:22 +02:00
Yann Hamon
1f019066c7 -verbose instead of -quiet, -quiet seems a better default 2020-06-01 12:59:46 +02:00
Yann Hamon
0ddf4e9a50 more nits 2020-06-01 12:44:59 +02:00
Yann Hamon
5ff2d1a037 minor nits 2020-06-01 12:24:45 +02:00
Yann Hamon
8fc1df8d8b minor nits 2020-06-01 12:20:15 +02:00
Yann Hamon
b4547ce367 Revert "skip resources that have no Kind defined"
This reverts commit 8c23417561.
2020-06-01 05:19:54 +02:00
Yann Hamon
8c23417561 skip resources that have no Kind defined 2020-06-01 05:15:41 +02:00
Yann Hamon
742d8cdf7e bugfixes 2020-06-01 05:08:45 +02:00
Yann Hamon
a33ba035fa first test 2020-06-01 04:53:37 +02:00
Yann Hamon
df62a49c17 refactor 2020-05-31 22:45:25 +02:00