Skip to content

Commit

Permalink
Validate configuration with JSON Schema
Browse files Browse the repository at this point in the history
  • Loading branch information
aeneasr committed Jul 17, 2019
1 parent f727efe commit 997427d
Show file tree
Hide file tree
Showing 21 changed files with 828 additions and 230 deletions.
5 changes: 2 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,8 @@ jobs:
- run: git config --global user.name "ORY Continuous Integration"
- run: "git clone https://arekkas:[email protected]/ory/docs.git ../docs"
- run: "cp ./docs/api.swagger.json ../docs/apis/oathkeeper.json"
- run: ./scripts/run-configuration.sh
- run: "cp configuration.md ../docs/docs/oathkeeper/configuration.md"
- run: "(cd ../docs && git add -A && git commit -a -m \"Updates ORY Oathkeeper Swagger definitions\" && git push origin) || exit 0"
- run: "cp ./.schemas/config.schema.json ../docs/schemas/oathkeeper.config.schema.json"
- run: "(cd ../docs && git add -A && git commit -a -m \"Update ORY Oathkeeper Swagger and JSON Schemas\" && git push origin) || exit 0"

release-changelog:
docker:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ vendor
_book
node_modules/
LICENSE.txt
*-packr.go
2 changes: 2 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ env:
before:
hooks:
- go mod download
- GO111MODULE=on go install github.com/gobuffalo/packr/v2/packr2
- packr2

builds:
-
Expand Down
Loading

0 comments on commit 997427d

Please sign in to comment.