An open API service indexing awesome lists of open source software.

https://github.com/hoshinotsuyoshi/codedeploy_slack_notify


https://github.com/hoshinotsuyoshi/codedeploy_slack_notify

Last synced: 2 months ago
JSON representation

Awesome Lists containing this project

README

        

# CodedeploySlackNotify

Slack notifier by using [AWS Codedeploy](https://aws.amazon.com/en/codedeploy/)'s DEPLOYMENT_ID

![slack](https://cloud.githubusercontent.com/assets/1394049/15384111/f82bd484-1dd2-11e6-97f9-13d5fdc126fb.png)

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'codedeploy_slack_notify'
```

And then execute:

$ bundle

Or install it yourself as:

$ gem install codedeploy_slack_notify

## Usage

```sh
$ SLACK_WEBHOOK_URL="https://hooks.slack.com/services/xxxxxxxxx/xxxxxxxxx/xxxxxxxxxxxxxxxxxxxxxxxx" \
SLACK_CHANNEL="#xxxxxxxxxxx" \
SLACK_USERNAME=xxxxxxxxxxxxxxxx \
DEPLOYMENT_ID=d-xxxxxxx \
codedeploy_slack_notify
```

## Note

Supports only "Deployment Config: `CodeDeployDefault.OneAtATime`"

## License

The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).