{"repo":"mathew-fleisch/bashbot","free":true,"listed":false,"github":"https://github.com/mathew-fleisch/bashbot","clone":"git clone https://github.com/mathew-fleisch/bashbot.git","description":"A slack-bot written in golang for infrastructure/devops teams","language":"Go","stars":47,"topics":["slack-bot","slack"],"license":"MIT","category":"chat-messaging","readme_excerpt":"Bashbot Docker Hub ghcr BashBot is a slack bot written in golang for infrastructure/devops teams. A socket connection to slack provides bashbot with a stream of text from each channel it is invited to, and uses regular expressions to determine when to trigger bash commands. A configuration file defines a list of commands that can be run in public and/or private channels. Restricting certain commands to private channels gives granular control, over which users can execute them. Bashbot allows infrastructure/devops teams to extend the tools and scripts they already use to manage their environments, into slack, that also acts as an execution log, and leverages slack's access controls. See the examples directory for more information about deploying, configuring and customizing Bashbot for your team. The most basic example of a bashbot command will just echo a string back to the user when triggered. In this example, a user triggers a Jenkins job using Bashbot and another instance of Bashbot is deployed in a Jenkins job as a gating mechanism. The configuration for the secondary Bashbot could get info about the Jenkins job/host and provides controls to manually decide if the job should pass or fail, at a certain stage in the build.This method of deploying Bashbot gives basic Jenkins controls (trigger, pass, fail) to users in an organization, without giving them access to Jenkins itself. Bashbot commands can be restricted to private channels to limit access within slack. --- Slack to","default_branch":null,"files":null,"tree":[],"storefront":"/r/mathew-fleisch","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mathew-fleisch/bashbot/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}