Skip to content

Plugin for dokku that notifies Airbrake (or Errbit) that your application has been deployed

License

Notifications You must be signed in to change notification settings

altV/dokku-airbrake-deploy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dokku-airbrake-deploy

dokku-airbrake-deploy is a plugin for dokku that notifies Airbrake (or Errbit) that your application has been deployed.

Requirements

curl is required and will be installed when calling dokku plugins-install-dependencies.

Installation

$ sudo git clone https://github.com/Flink/dokku-airbrake-deploy.git /var/lib/dokku/plugins/airbrake-deploy
$ dokku plugins-install-dependencies

Commands

$ dokku help
    airbrake-deploy <app>                           Display the current airbrake deploy hook status of app

Usage

Checking if deploy hook is enabled or not on your application:

# dokku airbrake-deploy my-app            # Server side
$ ssh dokku@server airbrake-deploy my-app # Client side

AIRBRAKE_API_KEY is not defined for my-app
$

To enable deploy hook for you application, you just have to set AIRBRAKE_API_KEY:

# dokku config:set my-app AIRBRAKE_API_KEY=your_api_key            # Server side
$ ssh dokku@server config:set my-app AIRBRAKE_API_KEY=your_api_key # Client side

By default the repository URL provided will be the one from dokku ([email protected]:my-app). To change that, just set AIRBRAKE_REPO_URL to your real repository (eg. [email protected]/user/repo.git).

This plugin is also compatible with Errbit, set AIRBRAKE_BASE_URL to your errbit installation to notify it (eg. https://my.errbit.net).

License

This plugin is released under the MIT license. See the file LICENSE.

About

Plugin for dokku that notifies Airbrake (or Errbit) that your application has been deployed

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%