This product is no longer maintained. Visit to Dashbozu2 project page.
Dashbozu is an integration service of all dashboards of the world!
- Jenkins
- git
- Redmine
- Heroku
- Travis CI
- GitHub
- NewRelic (alerts)
- Play 2.0 or later
- PostgreSQL 8 or later
See Documentation: Installing - Playframework.
Install PostgreSQL by your package system(e.g. homebrew). And type following command:
$ cd /path/to/db
$ initdb .
$ postgres -D .
And type at other terminal:
$ createdb dashbozu
Type below commands.
$ play stage
$ target/start -Dconfig.resource=prod.conf
And access http://localhost:9000
Signup(or login) http://pusher.com/ and add new App. And update prod.conf
:
pusher.enable=true
pusher.id=<pusher_id>
pusher.key=<key>
pusher.secret=<secret>
Signup(or login) http://boxcar.com and add new service. And update prod.conf
:
boxcar.enable=true
boxcar.key=<key>
boxcar.secret=<secret>
And install boxcar App to your iPhone/iPad.
Add following command to your job:
curl "http://dashbozu.example.com/hook/jenkins?url=[jenkins url]&project=[project name]"
Copy to script to your git repository.
cp $DASHBOZU_HOME/script/gitbozuhook.rb /path/to/gitdir/hooks
And add post-receive
:
#! /bin/sh
read oldrev newrev refname
ruby /path/to/gitdir/hooks/gitbozuhook.rb $oldrev $newrev $refname [dashbozu url]/hook/git
Install redmine dashbozu notifiler plugin:
$ cd $RAILS_ROOT/plugins
$ git clone git://github.com/suer/redmine_dashbozu_notifiler.git
Access to plugin settings page: Administration > Plugins > Redmine Dashbozu Notifier plugin's "Configure". Then set dashbozu root URL.
Install deployhook addon:
$ heroku addons:add deployhooks:http --url=http://dashbozu.example.com/hook/heroku
Add webhook setting to .travis.yml
notifications:
webhooks: http://dashbozu.example.com/hook/travisci
Set webhook URL to http://dashbozu.example.com/hook/github via API:
curl -u USER_NAME -i \
-X POST \
-H "Accept: application/json" -H "Content-type: application/json" \
-d '{ "name": "web", "active": true, "events": [ "push", "pull_request", "issues", "issue_comment" ],
"config": { "url": "http://dashbozu.example.com/hook/github", "content_type": "form" } }' \
https://api.github.com/repos/USER_NAME/PROJECT_NAME/hooks
Set webhook URL to http://dashbozu.example.com/hook/newrelic
Update conf/heroku.conf
and see Documentation: ProductionHeroku - Playframework.
To testing dashbozu, we recomend use heroku bozu.
$ curl "http://localhost:9000/hook/heroku?head_long=$(uuid)&app=test&git_log=$(uuid)&url=http://example.com&user=mzp"
- @banjun
- @mallowlabs
- @mzp
- @shimomura1004
- @suer
The MIT License (MIT) Copyright (c) 2012 codefirst.org
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restricti on, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON INFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMA GES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
- Twitter Bootstrap - Apache License 2.0