Commit graph

312 commits

Author SHA1 Message Date
Maxime Brunet
67a73a9315
scripts: Optionally disallow additionalProperties at the root 2021-12-11 11:40:06 -08:00
Yann Hamon
f2e47c3596
Merge pull request #83 from z0mbix/master
Add -v flag to output version
2021-11-16 18:21:53 +01:00
z0mbix
c3e6205f15
Move version to main package 2021-11-16 17:19:54 +00:00
z0mbix
9410471142
Update README 2021-11-16 15:33:04 +00:00
z0mbix
d63de52458
Add -v to output version number 2021-11-16 15:30:33 +00:00
Yann Hamon
d536a659bd Fix broken release notes 2021-09-27 01:15:38 +02:00
Yann Hamon
ea3c592d63 HTTP acceptance test for openapi2jsonschema 2021-09-26 23:27:03 +02:00
Yann Hamon
aebc298047
Merge pull request #78 from tarioch/patch-1
Add missing import urllib.request
2021-09-26 23:06:52 +02:00
Patrick Ruckstuhl
a30381c6aa
Add missing import urllib.request 2021-09-26 23:00:44 +02:00
Yann Hamon
ab4745ddf0 Small clean-up 2021-09-26 22:55:01 +02:00
Yann Hamon
b571b18f8d Rename acceptance tests for consistency 2021-09-26 18:00:36 +02:00
Yann Hamon
563106ede1
Merge pull request #76 from yannh/support-for-larger-files
Support for larger files
2021-09-26 17:49:44 +02:00
Yann Hamon
b5c823d6b5 Also read up to 256MB from stdin 2021-09-26 17:45:27 +02:00
Yann Hamon
4a8aace275 Add acceptance test 2021-09-26 17:40:58 +02:00
Yann Hamon
8bb87b9a63 Allow bufio.Scanner to resize buffer when reading large files 2021-09-26 17:27:20 +02:00
Yann Hamon
ff7da0f73b
Merge pull request #75 from yannh/openapi2jsonschema-tests
Add simple openapi2jsonschema unit tests
2021-09-26 17:04:04 +02:00
Yann Hamon
19be42b9a6 simple openapi2jsonschema tests 2021-09-26 17:02:34 +02:00
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