Commit graph

295 commits

Author SHA1 Message Date
Yann Hamon
dcc77ac3a3
Merge pull request #72 from tarioch/feature/handle_items_in_openapi2jsonschema
Also support items elements in yaml
2021-09-26 14:07:52 +02:00
Yann Hamon
f8dcb19789
Merge pull request #64 from PaytmLabs/hotfix/scripts/versions-before-version
I added some _very_ basic regression test, which checks that the output I am currently getting for a single resource from the prometheus operator does not change. It's not perfect, but changes that do not break that test are unlikely to break for me.
2021-09-26 14:00:06 +02:00
Yann Hamon
72d648a5d1
Merge pull request #74 from yannh/add-regression-tests-openapi2jsonschema
Add regression tests openapi2jsonschema
2021-09-26 13:51:08 +02:00
Yann Hamon
468d42f556 Add simple regression test for openapi2jsonschema 2021-09-26 13:49:37 +02:00
Yann Hamon
dfd7a5a102 Add simple regression tests for openapi2jsonschema 2021-09-26 13:46:05 +02:00
Yann Hamon
0bf6b97269
Merge pull request #71 from schuhu/httpproxy
FIX: enable http_proxy environment variable
2021-09-26 12:18:47 +02:00
Yann Hamon
54e0b8f5bb Update README.md with Proxy support infos 2021-09-26 12:14:53 +02:00
Yann Hamon
73f65d7530 Add acceptance test for HTTPS_PROXY support 2021-09-26 12:11:42 +02:00
Yann Hamon
4e83800979 gofmt 2021-09-26 11:58:09 +02:00
Patrick Ruckstuhl
9228dba915 Also support items elements in yaml, e.g. for kubectl get crds -o yaml 2021-09-25 01:09:08 +02:00
Christian Brauchli
dee75355d0 FIX: enable http_proxy environment variable 2021-09-17 09:32:36 +02:00
Yann Hamon
4544f45fa1 Also release an alpine variant of the Docker image for Gitlab CI 2021-08-29 13:06:30 +02:00
Yann Hamon
2eefa7fc22 Update Junit tests, fix #45 2021-08-29 12:57:25 +02:00
Yann Hamon
1b01a42488 Fix Makefile - remove duplicate target 2021-08-29 12:33:24 +02:00
Yann Hamon
80d2203a5a Add project_name to goreleaser file 2021-08-29 12:07:06 +02:00
Yann Hamon
aadb07a585 Fix CI 2021-08-29 12:00:20 +02:00
Yann Hamon
5bce1d4180 Generate all release artifacts using Goreleaser, update Makefile 2021-08-29 11:55:17 +02:00
Yann Hamon
ec52b39db3 Update goreleaser 2021-08-29 11:41:20 +02:00
Yann Hamon
ab7fd7f97d Go mod tidy 2021-08-22 19:13:13 +02:00
Yann Hamon
ae74fa6e53
Merge pull request #69 from chenrui333/go-1.17
build: bump to use go1.17
2021-08-22 19:04:16 +02:00
Rui Chen
cf50a6c9da merge require blocks
Signed-off-by: Rui Chen <rui@chenrui.dev>
2021-08-22 02:15:34 -04:00
Rui Chen
727f5fe57e build: bump to use go1.17
Signed-off-by: Rui Chen <rui@chenrui.dev>
2021-08-17 01:31:46 -04:00
Yann Hamon
98c80939c1
Merge pull request #68 from vcardenas/handle-invalid-schemas-http-registries
Properly handle successful http requests to registries sending invalid schema responses
2021-08-07 16:17:17 +02:00
Victor Cardenas
44b7ba9aef Properly handle successful http requests to registries sending invalid schema responses 2021-08-03 19:46:18 -04:00
Maxime Brunet
c489a69a4c
scripts: Check versions before version
CRD versions can have multiple schemas, but they can also share the
same.

https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definition-versioning/#specify-multiple-versions
2021-07-12 17:23:42 -07:00
Yann Hamon
f8ffb2f9e3
Merge pull request #62 from yannh/use-master-by-default
Validate against master by default, not 1.18.0
2021-07-11 23:23:22 +02:00
Yann Hamon
8721f4c32a
Merge pull request #63 from yannh/updates-deps
Update dependencies, add Makefile target
2021-07-11 23:15:53 +02:00
Yann Hamon
7be447f44f Update dependencies, add Makefile target 2021-07-11 23:14:05 +02:00
Yann Hamon
0e22547520 Fix acceptance tests 2021-07-11 23:01:31 +02:00
Yann Hamon
53a1689bac Fix unit tests 2021-07-11 22:57:20 +02:00
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