Skip to content

Commit

Permalink
ci: Generate benchmarks in docus format (ory#1170)
Browse files Browse the repository at this point in the history
Signed-off-by: arekkas <[email protected]>
  • Loading branch information
aeneasr authored Nov 15, 2018
1 parent 492e3d6 commit 719e4b4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ jobs:
- run: ./scripts/run-bench.sh
- run: cat BENCHMARKS.md
- run: "git clone https://arekkas:[email protected]/ory/docs.git ../docs"
- run: "cp BENCHMARKS.md ../docs/guides/performance/1-hydra.md"
- run: "cp BENCHMARKS.md ../docs/performance/hydra.md"
- run: "(cd ../docs && git add -A && git commit -a -m \"Updates ORY Hydra Performance benchmarks\" && git push origin) || exit 0"

workflows:
Expand Down
5 changes: 4 additions & 1 deletion scripts/run-bench.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ clientSecret=benchsecret
basicAuth=YmVuY2hjbGllbnQ6YmVuY2hzZWNyZXQ=

cat > BENCHMARKS.md << EOF
# ORY Hydra Performance Benchmarks
---
id: performance-hydra
title: ORY Hydra
---
In this document you will find benchmark results for different endpoints of ORY Hydra. All benchmarks are executed
using [rakyll/hey](https://github.com/rakyll/hey). Please note that these benchmarks run against the in-memory storage
Expand Down

0 comments on commit 719e4b4

Please sign in to comment.