Benchmark runner robot for Benchmarkify
$ git clone https://github.com/icebob/bench-bot.git
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
First set environment variables.
$ npm start
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.
bench-bot is available under the MIT license.
Copyright (C) 2017 Icebob