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
Size: 48
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
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.
SLACK_WEBHOOK
- an incoming hook configured from slackKEYVAULT_URI
- the location of the keyvaultKEYVAULT_USER_PREFIX
- prefix for keyvault secrets used by this appKEYVAULT_CLIENT_ID
- the client id for accessing the keyvaultKEYVAULT_CLIENT_SECRET
- the client secret for accessing the keyvaultLOCAL_USERS
- comma separated username:password combos for local testingVisit the homepage for some testing buttons
Auth must be provided using HTTP Basic Auth
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"