Skip to content

Commit

Permalink
add --schema-format json
Browse files Browse the repository at this point in the history
  • Loading branch information
khieta committed Sep 23, 2024
1 parent 811b8c6 commit 0f7ba42
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions oopsla2024-benchmarks/validate_all_benchmarks.sh
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
BENCHES="${BENCHES:-benches}"

# gdrive benchmark (static policies)
cedar validate --policies $BENCHES/gdrive/cedar/policies.cedar --schema $BENCHES/gdrive/cedar/gdrive.cedarschema.json
cedar validate --policies $BENCHES/gdrive/cedar/policies.cedar --schema $BENCHES/gdrive/cedar/gdrive.cedarschema.json --schema-format json

# gdrive benchmark (templates)
cedar validate --policies $BENCHES/gdrive-templates/cedar/policies.cedar --schema $BENCHES/gdrive-templates/cedar/gdrive-templates.cedarschema.json
cedar validate --policies $BENCHES/gdrive-templates/cedar/policies.cedar --schema $BENCHES/gdrive-templates/cedar/gdrive-templates.cedarschema.json --schema-format json

# gdrive benchmark (static policies)
cedar validate --policies $BENCHES/github/cedar/policies.cedar --schema $BENCHES/github/cedar/github.cedarschema.json
cedar validate --policies $BENCHES/github/cedar/policies.cedar --schema $BENCHES/github/cedar/github.cedarschema.json --schema-format json

# gdrive benchmark (templates)
cedar validate --policies $BENCHES/github-templates/cedar/policies.cedar --schema $BENCHES/github-templates/cedar/github-templates.cedarschema.json
cedar validate --policies $BENCHES/github-templates/cedar/policies.cedar --schema $BENCHES/github-templates/cedar/github-templates.cedarschema.json --schema-format json

# tinytodo benchmark
cedar validate --policies $BENCHES/tinytodo/cedar/tinytodo.cedar --schema $BENCHES/tinytodo/cedar/tinytodo.cedarschema.json
cedar validate --policies $BENCHES/tinytodo/cedar/tinytodo.cedar --schema $BENCHES/tinytodo/cedar/tinytodo.cedarschema.json --schema-format json

0 comments on commit 0f7ba42

Please sign in to comment.