Skip to content

Commit

Permalink
Remove python dependency, add Makefile, use dokcer image for openapi2…
Browse files Browse the repository at this point in the history
…jsonschema
  • Loading branch information
yannh committed Jan 23, 2021
1 parent 3ecd817 commit 46e7310
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 255 deletions.
6 changes: 0 additions & 6 deletions .travis.yml

This file was deleted.

17 changes: 0 additions & 17 deletions Pipfile

This file was deleted.

188 changes: 0 additions & 188 deletions Pipfile.lock

This file was deleted.

16 changes: 8 additions & 8 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -178,12 +178,12 @@ do
schema=https://raw.githubusercontent.com/kubernetes/kubernetes/${version}/api/openapi-spec/swagger.json
prefix=https://kubernetesjsonschema.dev/${version}/_definitions.json

openapi2jsonschema -o "${version}-standalone-strict" --expanded --kubernetes --stand-alone --strict "${schema}"
openapi2jsonschema -o "${version}-standalone" --expanded --kubernetes --stand-alone "${schema}"
openapi2jsonschema -o "${version}-local" --expanded --kubernetes "${schema}"
openapi2jsonschema -o "${version}" --expanded --kubernetes --prefix "${prefix}" "${schema}"
openapi2jsonschema -o "${version}-standalone-strict" --kubernetes --stand-alone --strict "${schema}"
openapi2jsonschema -o "${version}-standalone" --kubernetes --stand-alone "${schema}"
openapi2jsonschema -o "${version}-local" --kubernetes "${schema}"
openapi2jsonschema -o "${version}" --kubernetes --prefix "${prefix}" "${schema}"
docker run -it docker.pkg.github.com/yannh/openapi2jsonschema/openapi2jsonschema:latest -o "${version}-standalone-strict" --expanded --kubernetes --stand-alone --strict "${schema}"
docker run -it docker.pkg.github.com/yannh/openapi2jsonschema/openapi2jsonschema:latest -o "${version}-standalone" --expanded --kubernetes --stand-alone "${schema}"
docker run -it docker.pkg.github.com/yannh/openapi2jsonschema/openapi2jsonschema:latest -o "${version}-local" --expanded --kubernetes "${schema}"
docker run -it docker.pkg.github.com/yannh/openapi2jsonschema/openapi2jsonschema:latest -o "${version}" --expanded --kubernetes --prefix "${prefix}" "${schema}"
docker run -it docker.pkg.github.com/yannh/openapi2jsonschema/openapi2jsonschema:latest -o "${version}-standalone-strict" --kubernetes --stand-alone --strict "${schema}"
docker run -it docker.pkg.github.com/yannh/openapi2jsonschema/openapi2jsonschema:latest -o "${version}-standalone" --kubernetes --stand-alone "${schema}"
docker run -it docker.pkg.github.com/yannh/openapi2jsonschema/openapi2jsonschema:latest -o "${version}-local" --kubernetes "${schema}"
docker run -it docker.pkg.github.com/yannh/openapi2jsonschema/openapi2jsonschema:latest -o "${version}" --kubernetes --prefix "${prefix}" "${schema}"
done
4 changes: 0 additions & 4 deletions pytest.ini

This file was deleted.

6 changes: 0 additions & 6 deletions requirements.txt

This file was deleted.

19 changes: 0 additions & 19 deletions tests/test_valid_schema.py

This file was deleted.

7 changes: 0 additions & 7 deletions tox.ini

This file was deleted.

0 comments on commit 46e7310

Please sign in to comment.