Skip to content

Webhook for cool stuff #2533

Closed as not planned
Closed as not planned

Description

@Bartvds

I finally created a basic setup for a github webhook integration, using github-webhook-handler. It runs on a free Node dyno on OpenShift.

It's not a finished app yet, but basics work hooked in my DT fork. So far I have it publishing to a Gitter room; it listens for Issues (easy) and PR info (with a file-changes lookup on the Github API).

We can do a lot of cool stuff with this (and some help of @dt-bot).

  1. TSD update an index JSON on each push-to-master (with all the parsed data)

  2. Add notification channel/service for user subscription (separate ticket Notification/subscription system #2534).

  3. Trigger rebuilds (like dt.org/docs if it gets real).

  4. Ping a message on pending PR's that broke the build and are not fixed within X time (eg: author didn't know a build was running or forgot to check).

  5. ... ?

Note: the repo is private as it is linked to many secret keys and live-deploys to OpenShift. If this gets real DT collabs can of course get access too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions