noms-digital-studio/slackhook

Name: slackhook

Owner: NOMS Digital Studio

Description: Azure Kudo / web app post deployment hook that sends deployment notifications to Slack

Created: 2017-07-25 09:12:41.0

Updated: 2017-07-25 09:47:31.0

Pushed: 2017-08-01 09:51:31.0

Homepage:

Size: 48

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Studio Slack Hook Handler

A basic node add which translates incoming webhook notifications into useful slack messages.

Authentication is backed by usernames and passwords stored in an azure keyvault.

Originally based on KuduPostDeploymentSlackHook.

Requirements
Configuration
Testing

Visit the homepage for some testing buttons

Usage

Auth must be provided using HTTP Basic Auth

POST /kudu

Handles incoming webhooks from kudu deployments.

Can specify channel in the querystring to route to a different channel.

example payload


d": "2bdc42572263361fef1a3334c562be57dfb06c27",
tatus": "success",
tatusText": "",
uthorEmail": "test@test.com",
uthor": "John Doe",
essage": "Epic new feature!",
rogress": "",
eployer": "",
eceivedTime": "2015-06-11T09:58:46.9983824Z",
tartTime": "2015-06-11T10:39:02.1322211Z",
ndTime": "2015-06-11T10:39:07.555094Z",
astSuccessEndTime": "2015-06-11T10:39:07.555094Z",
omplete": true,
iteName": "azure-dummy-site"


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.