Project

chatopsify

0.0
The project is in a healthy, maintained state
chatopsify = ChatOps + Capistrano notifications via API
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Runtime

>= 3.2.0, ~> 3.2
 Project Readme

Chatopsify

Gem Gem GitHub Actions Workflow Status GitHub Actions Workflow Status

Installation

Add this line to your application's Gemfile:

gem 'chatopsify', require: false

And then execute:

$ bundle install

Or install it yourself as:

$ gem install chatopsify

Usage

Require the gem in your Capfile:

require 'capistrano/chatopsify'

Configuration

Using ENV (or .env)

export CHATOPS_URI='your_chatops_uri'
export CHATOPS_API_KEY='your_chatops_api_key'
export CHATOPS_CHANNEL_ID='your_channel_id'

Using config/deploy

# config/deploy.rb
...
set :chatops_uri, 'your_chatops_uri'
set :chatops_api_key, 'your_chatops_api_key'
set :chatops_channel_id, 'your_channel_id'
...

Config deploy success/failure notifications are posted as thread replies to the initial deploy start message.

# config/deploy.rb
set :chatops_use_thread_replies, true

Copyright

©rs-phunt