Skip to content

Minimalist Google Hangouts Chat Bitbucket bot / webhook

License

Notifications You must be signed in to change notification settings

kieras/chat-bitbucket-bot

Repository files navigation

Minimalist Google Hangout Chats Bitbucket Bot

Codacy Badge

It is a Minimalist Google Hangout Chats Bitbucket Bot. :-)

The minimalist part is very important. We don't want a bloated fully featured bot, we want just the minimum necessary so that our teams can have decent notifications and can act on important events.

Setup virtual environment

pipenv install --ignore-pipfile --dev

Run unit tests

pipenv run python -m pytest --junitxml=test-results/pytest/report.xml -vvs tests --log-cli-level WARNING

Deploy

gcloud beta functions deploy chat-bitbucket-bot \
    --entry-point main \
    --runtime python37 \
    --memory 128MB \
    --timeout 5s \
    --max-instances 3 \
    --trigger-http \
    --allow-unauthenticated \
    --set-env-vars=CHAT_WEBHOOK_URL='<YOUR_CHAT_WEBHOOK_URL>' \
    --region=<YOUR_REGION> \
    --project <YOUR_PROJECT_ID>

About

Minimalist Google Hangouts Chat Bitbucket bot / webhook

Resources

License

Stars

Watchers

Forks

Languages