Giter VIP home page Giter VIP logo

flink-notification-bot's Introduction

Flink Notification Bot

A notification bot to receive Travis webhook payload and send Email notifications to [email protected].

How it Works?

  1. Travis CI's webhook notification delivers a POST request to the specified endpoint a JSON payload as described.
  2. Encrypt the webhook url in the .travis.yml e.g: travis encrypt "http://<ip>:9000/travis" --add notifications.webhooks.urls.
  • Where <ip> is the VM ip address hosts the bot service. The :9000/travis is the port and path where the bot monitors.
  • Encrypting the webhoot url should address the issue of forked repos sending notifications to the mailing list.
  1. The Bot receives the POST request, unparses the payload, generates it into an HTML email.
  2. Send the email to [email protected] using the configured email address and password.

How to Deploys?

  • Prepare a VM which has a public ip address.
  • Clone/Download the project in the VM.
  • Add config.properties file under flink-notification-bot/src/main/resources, and fill in email.from, and email.password and email.to. Take config.properties.example as an example.
  • mvn clean package -DskipTests under the root of the project to build the project.
  • run ./run.sh & in background.
  • Checks the bot.log to see whether the bot service is launched successfully.

Feature requests

flink-notification-bot's People

Contributors

wuchong avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

rmetzger

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.