A simple collection of azure functions to send slackbot Teams bot messages to our dev team
This repo structure was generated by VS Code. The simplest way to upload these functions will be through the Azure Functions extension.
These functions were developed with Python 3.7.
- Sends a Slack message to anybody on the team with "review requested" on our repos.
- Is triggered daily via the CRON string
0 50 13 * * *"
(Azure is in UTC).
- Every Monday sends a message with who is on Triage duty, and the two on deck.
- Is triggered by a message on the queue (so that we can have two Cron timers).
- Two timer trigger functions that simply add a message to a shared queue, triggering
DoFeedbackTriage
These variables must be set on Azure, or via a local.settings.json
while testing locally.
SLACK_HOOK
: The full URI for given Slack channel to send webhook toTEAMS_HOOK
: The full URI for Teams webhookGITHUB_TOKEN
: A Github token with visibility into any private repos necessaryFEEDBACK_URL
: The full URI for our feedback dashboarduitoolsbot_STOARGE
: Connection string for the shared Queue between functionsFUNCTIONS_WORKER_RUNTIME
:python