All Projects → ogrodnek → Code Pipeline Slack

ogrodnek / Code Pipeline Slack

Licence: apache-2.0
Slack bot for code pipeline deployments

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Code Pipeline Slack

Aws To Slack
Forward AWS CloudWatch Alarms and other notifications from Amazon SNS to Slack.
Stars: ✭ 261 (+196.59%)
Mutual labels:  aws, slack
Wc2018 Slack Bot
World Cup 2018 Slack Bot
Stars: ✭ 11 (-87.5%)
Mutual labels:  slackbot, slack
Cdk Constructs
A collection of higher-level aws cdk constructs: slack-approval-workflow, #slack & msteams notifications, chatops, blue-green-container-deployment, codecommit-backup, OWASP dependency-check, contentful-webhook, github-webhook, stripe-webhook, static-website, pull-request-check, pull-request-approval-rule, codepipeline-merge-action, codepipeline-check-parameter-action...
Stars: ✭ 282 (+220.45%)
Mutual labels:  aws, slack
dienstplan
Slack bot app for duty rotations
Stars: ✭ 14 (-84.09%)
Mutual labels:  slack, slackbot
Slack Poster
Simple gem to post messages on Slack using web hooks.
Stars: ✭ 49 (-44.32%)
Mutual labels:  slackbot, slack
SlackWebhooksGithubCrawler
Search for Slack Webhooks token publicly exposed on Github
Stars: ✭ 21 (-76.14%)
Mutual labels:  slack, slackbot
Slacker
Slack Bot Framework
Stars: ✭ 495 (+462.5%)
Mutual labels:  slackbot, slack
Serverless Slack App
A Serverless.js Slack App Boilerplate with OAuth and Bot actions
Stars: ✭ 217 (+146.59%)
Mutual labels:  aws, slack
Webpack Deploy
Collection of useful utilities for deploying (not only) Webpack apps
Stars: ✭ 44 (-50%)
Mutual labels:  aws, slack
Obed Bot
🍴 Obed Slack Bot, na požiadanie kontroluje aktuálnu ponuku denného menu reštaurácii. [only for slovak|czech users]
Stars: ✭ 32 (-63.64%)
Mutual labels:  slackbot, slack
slack widgets
An abstraction of the JSON structure needed to create widgets in Slack message attachments
Stars: ✭ 14 (-84.09%)
Mutual labels:  slack, slackbot
Serverless Slackbot
A boilerplate Serverless Slackbot framework with a custom scripts folder (like Hubot)
Stars: ✭ 72 (-18.18%)
Mutual labels:  aws, slack
git-slack-notify
Sends Slack notifications for new commits in Git repositories
Stars: ✭ 12 (-86.36%)
Mutual labels:  slack, slackbot
iou-slack-bot
💸 IOU Slack Bot - Keep track of your debts with your peers.
Stars: ✭ 13 (-85.23%)
Mutual labels:  slack, slackbot
rota-slackbot
Slackbot that helps manage rotations.
Stars: ✭ 50 (-43.18%)
Mutual labels:  slack, slackbot
Terraform Aws Notify Slack
Terraform module which creates SNS topic and Lambda function which sends notifications to Slack
Stars: ✭ 290 (+229.55%)
Mutual labels:  aws, slack
Vscode Deploy Reloaded
Recoded version of Visual Studio Code extension 'vs-deploy', which provides commands to deploy files to one or more destinations.
Stars: ✭ 129 (+46.59%)
Mutual labels:  aws, slack
Aws Maintenance Lambda
A lambda function to send alerts (to Slack, HipChat) on AWS maintenance events.
Stars: ✭ 133 (+51.14%)
Mutual labels:  aws, slack
Slack Ruby Client
A Ruby and command-line client for the Slack Web, Real Time Messaging and Event APIs.
Stars: ✭ 957 (+987.5%)
Mutual labels:  slackbot, slack
Jbot
Make Slack and Facebook Bots in Java.
Stars: ✭ 1,148 (+1204.55%)
Mutual labels:  slackbot, slack

Code Pipeline Slack Bot

This bot will notify you of CodePipeline progress (using CloudWatch Events).

We attempt to provide a unified summary, by pulling together multiple events, as well as information obtained by the API into a single message view.

Build

Launch

us-east-1 us-west-2
Launch Launch

Configuration / Customization

No configuration is necessary per pipeline. As part of the CF Stack, we subscribe to all CodePipeline and CodeBuild events (using CloudWatch Events).

When creating the CloudFormation stack, you can customize:

  • SlackChannel (defaults to builds).
  • SlackBotName (defaults to PipelineBuildBot).
  • SlackBotIcon (defaults to :robot_face: 🤖 ).

Additionally, you must provide both a SlackOAuthAccessToken and a SlackBotUserOAuthAccessToken, (see BotUsers for creating a slack bot user with an OAuth token). If you have the legacy integration token, just add that token to both fields. It is required to add the permission scope 'Access user’s public channels' (channels:history).

How it works

We utilize CloudWatch Events for CodePipline and CodeBuild to get notified of all status changes.

Using the notifications, as well as using the CodePipeline APIs, we are able to present a unified summary of your Pipeline and Build status.

IAM permissions

As part of the deployment, we create an IAM policy for the bot lambda function of:

Policies:
  - AWSLambdaBasicExecutionRole
  - Version: '2012-10-17'
    Statement:
      - Effect: Allow
        Action:
          - 'codepipeline:Get*'
          - 'codepipeline:List*'
        Resource: '*'
      - Effect: Allow
        Action:
          - 'codebuild:Get*'
        Resource: '*'

So we can retrieve information about all pipelines and builds. See template.yml for more detail.

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].