All Projects → StackStorm → st2chatops

StackStorm / st2chatops

Licence: Apache-2.0 license
Packaging environment for building StackStorm chatops native packages

Programming Languages

shell
77523 projects
python
139335 projects - #7 most used programming language
Dockerfile
14818 projects
Makefile
30231 projects

Projects that are alternatives of or similar to st2chatops

Matterbridge
bridge between mattermost, IRC, gitter, xmpp, slack, discord, telegram, rocketchat, twitch, ssh-chat, zulip, whatsapp, keybase, matrix, microsoft teams, nextcloud, mumble, vk and more with REST API (mattermost not required!)
Stars: ✭ 4,452 (+17023.08%)
Mutual labels:  slack, irc, xmpp, mattermost, rocketchat, microsoft-teams
Sactive Bot
😈 An extensible chat bot framework. sactive-bot is an evolution of the open source hubot project. - https://www.shipengqi.top/sactive-bot .
Stars: ✭ 212 (+715.38%)
Mutual labels:  slack, hubot, chatops, mattermost
hubot-code-review
A Hubot script for GitHub code review on Slack.
Stars: ✭ 38 (+46.15%)
Mutual labels:  slack, hubot, chatops
lita-hipchat
A HipChat adapter for Lita.
Stars: ✭ 37 (+42.31%)
Mutual labels:  chatops, xmpp, hipchat
ansible-hubot
💬 Ansible role for Hubot
Stars: ✭ 63 (+142.31%)
Mutual labels:  hubot, chatops, hipchat
Yetibot
🤖 Extreme chatops bot for Slack and IRC 🔧 New contributors welcome 🏗
Stars: ✭ 311 (+1096.15%)
Mutual labels:  slack, chatops, irc
Matterircd
Connect to your mattermost or slack using your IRC-client of choice.
Stars: ✭ 241 (+826.92%)
Mutual labels:  slack, irc, mattermost
Botkit
Botkit is an open source developer tool for building chat bots, apps and custom integrations for major messaging platforms.
Stars: ✭ 10,555 (+40496.15%)
Mutual labels:  slack, cisco-spark, microsoft-teams
docker-errbot
Dockerfile for Err - the pluggable chatbot
Stars: ✭ 53 (+103.85%)
Mutual labels:  irc, xmpp, hipchat
Marvin
The paranoid bot (framework)
Stars: ✭ 51 (+96.15%)
Mutual labels:  slack, hubot, irc
Showcase Ansible Chatops
Vagrant Demo showing ChatOps with Ansible
Stars: ✭ 71 (+173.08%)
Mutual labels:  slack, hubot, chatops
notify
推送通知 sdk(Bark、Chanify、钉钉群机器人、Discord、邮件、飞书群机器人、Gitter、Google Chat、iGot、Logger、Mattermost、Now Push、PushBack、Push、PushDeer、PushPlus、QQ 频道机器人、Rocket Chat、Server 酱、Showdoc Push、Slack、Telegram、Webhook、企业微信群机器人、息知、Zulip)。
Stars: ✭ 335 (+1188.46%)
Mutual labels:  slack, mattermost, rocketchat
Pull Review
✅ Assign pull request reviewers intelligently.
Stars: ✭ 179 (+588.46%)
Mutual labels:  slack, hubot
Flottbot
A chatbot framework written in Go. All configurations are made in YAML files, or inside scripts written in your favorite language.
Stars: ✭ 175 (+573.08%)
Mutual labels:  slack, chatops
Go Sarah
Simple yet customizable bot framework written in Go.
Stars: ✭ 188 (+623.08%)
Mutual labels:  slack, xmpp
Lita Slack
A Slack adapter for Lita.
Stars: ✭ 138 (+430.77%)
Mutual labels:  slack, chatops
Bolt Python
A framework to build Slack apps using Python
Stars: ✭ 190 (+630.77%)
Mutual labels:  slack, chatops
Hubot Slack
Slack Developer Kit for Hubot
Stars: ✭ 2,260 (+8592.31%)
Mutual labels:  slack, hubot
Hanu
Golang Framework for writing Slack bots
Stars: ✭ 128 (+392.31%)
Mutual labels:  slack, chatops
Phabulous
A Phabricator bot for Slack
Stars: ✭ 222 (+753.85%)
Mutual labels:  slack, irc

StackStorm's st2chatops

This repository delivers StackStorm Chatops in a form of packages and docker image. The package includes hubot, hubot-stackstorm and pre-installed adapters for many Chat services.

Package

Usage

For instructions to install st2chatops package from repos, please refer to StackStorm installation instruction for Deb-based or RPM-based distributions.

Make sure you've added StackStorm repos before installing the package.

Node Version

Refer to official node documentation on installing NodeJS from packages.

Building

Building of the packages is handled automatically by CircleCI. In case you'd like to run it locally, you can use our building pipeline by running docker-compose:

    docker-compose run ${DISTRO} build

Where ${DISTRO} refers to flavor name. See docker-compose.yml file for the list of supported flavors.

Docker

Usage

  • Pull the StackStorm/st2chatops image:

      docker pull stackstorm/st2chatops
    
  • Set a hostname or IP address that will be accessible form a docker container, as $ST2_HOSTNAME environment variable:

     export $ST2_HOSTNAME={MY_STACKSTORM_HOST_NAME}
    
  • Use st2chatops.env to store the settings. The example uses Slack; set appropriate environment variables for other Chat Services: Slack, Microsoft Teams, Cisco Spark, Flowdock, IRC, XMPP, RocketChat, Mattermost.

  • Use scripts/st2chatops-docker-run.sh to start the docker container instance. The script is set for Slack; for other Chats, edit it to pass the environment variables as required for your Chat service adapter. Run the script, and ensure that hubot-stackstorm is running and there are no errors:

      ./st2chatops-docker-run.sh
      docker inspect -f {{.State.Status}} stackstorm-st2chatops
      docker logs stackstorm-st2chatops
    

    To automatically start stackstorm-st2chatops, use restart policies, or integrate with a process manager.

  • Go to your Chat room and begin Chatopsing. Learn more at docs.stackstorm.com/chatops

Node Version

Grab your favorite Node.JS version (>=10.0, <=14.x), and pick your tag. Update Dockerfile as needed.

Pre-Requsites

  • Docker
  • Docker Hub Login (only if you're pushing a new version to Docker Hub)

Building

  • Step 0: Log in to docker with docker login.

    • Only have to do this the first time
  • Step 1: Build the image: docker build -t stackstorm/st2chatops:<VER> .

    • Replace <VER> with a version tag
  • Step 2: Push the container up: docker push stackstorm/st2chatops:<VER>

    • Use the same tag specified in Step 1.
  • Step 3: Update the latest tag:

    docker build -t stackstorm/st2chatops:latest .
    docker push stackstorm/st2chatops:latest
    
  • Step 4: Profit

Updating

  • hubot-slack is not compatible with coffeescript 2 (issue, PR) yet, so keep the coffee-script dependency pinned to 1.12.7
  • coffee-register is required for dynamic require, but it cannot be updated past 1.0.0 because more recent versions (eg: 2.0.0+) require coffeescript version 2.0.0+

Copyright, License, and Contributors Agreement

Copyright 2015-2019 Extreme Networks, Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this work except in compliance with the License. You may obtain a copy of the License in the LICENSE file, or at:

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

By contributing you agree that these contributions are your own (or approved by your employer) and you grant a full, complete, irrevocable copyright license to all users and developers of the project, present and future, pursuant to the license of the project.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].