peak-adventure-travel / rocketeer-flowdock
Flowdock notification plugin for Rocketeer
Requires
- php: >=5.4.0
- anahkiasen/rocketeer: ^2.2
- guzzlehttp/guzzle: ^6.0
- illuminate/support: ~4.2
Requires (Dev)
- mockery/mockery: 0.9.*
- phing/phing: 2.14.*
- phpmd/phpmd: 2.4.*
- phpunit/phpunit: 3.7.*
- squizlabs/php_codesniffer: 2.4.0
This package is not auto-updated.
Last update: 2024-04-13 16:18:34 UTC
README
This plugin will allow Rocketeer to announce deployments to a single or multiple flowdock event flows for before and after deploy events have triggered, as well as any rollbacks that need to occur.
Installation
In your current project directory you'll need to install the project via :
composer install peak-adventure-travel/rocketeer-flowdock --dev
Then you'll need to install it to Rocketeer via:
rocketeer plugin:install peak-adventure-travel/rocketeer-flowdock
Then in your applications .rocketeer/config.php
, add Rocketeer\Plugins\Flowdock\RocketeerFlowdock
to the plugin array.
Usage
To setup the config you'll need to run the below command :
rocketeer plugin:config peak-adventure-travel/rocketeer-flowdock
Then go into .rocketeer/plugins/rocketeers/rocketeer-flowdock/config.php
and configure the variables to as you wish,
you will require at least one source_token for this plugin to work. (See Retrieving your Source Token
below)
Testing
To run just the singular PHPUnit tests in tests/ type the following command :
$ vendor/bin/phing phpunit
Retrieving your Source Tokens
- Whilst in Flowdock select the flow (Channel) that you wish to add the announcements too,
- Click the cog wheel on the flow, and select Settings,
- On the new window, select the Integrations tab and search for "Rocketeer"
- Click on '+ Connect Rocketeer Deployment to Flowdock',
- On the new window, enter the name you wish to call this Integration (recommend: Rocketeer Deployment),
- Click the 'Create source' button,
- Store the source token that is generated and place it in the
config.php
file with an appropriate name.