GitHub - icebob/bench-bot: 👷 Benchmark runner robot. Continuous benchmarking (original) (raw)
👷 bench-bot
Benchmark runner robot for Benchmarkify
Installation
$ git clone https://github.com/icebob/bench-bot.git
Environment variables
PORT
- exposed port for serverREPO_OWNER
- owner's username of repository (e.g: icebob)REPO_NAME
- Repository name (e.g: bench-bot)SUITE_FILENAME
- Benchmarkify suite filename with path (e.g:benchmark/suites/perf.js
)GITHUB_TOKEN
- Token to access github. You can create one in Github settings
Usage
Local
First set environment variables.
Docker
Rename the dc.env.sample
to dc.env
and set environment variables.
$ docker-compose build
$ docker-compose up -d
If the bot is running you should set a Web hook for your repository. The payload URL:
http://<server-address>:4278/github-hook
Check the "Pull request" event in triggers.
License
bench-bot is available under the MIT license.
Contact
Copyright (C) 2017 Icebob