Skip to content

Think-iT-Labs/CodeCommit-Slackbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AWS CodeCommit Slack Bot

Requirements

  • Slack incoming webhook url

  • AWS CodeCommit repository

  • Python 3 runtime with Virtualenv

  • AWS CDK installed in you client machine

    npm install -g cdk

    Note: if CDK has never been used in you aws account, you should execute the command cdk bootstrap

Usage

  1. Clone the repository and install all the needed dependencies

    git clone https://github.com/Think-iT-Labs/CodeCommit-Slackbot.git
    cd CodeCommit-Slackbot
    
    python3 -m venv env
    source .env/bin/activate 
    python3 -m pip install -r requirements.txt
  2. Edit the cdk.json file with your CodeCommit repository arn and you slack webhook url

    {
        "app": "python3 app.py",
        "context": {
            "codecommit_repo_arn": "arn:aws:codecommit:<region>:<account>:<repository_name>",
            "slack_webhook_url": "<slack_webhook_url>"
        }
    }
  3. Run

    cdk deploy

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages