This plugin sends Racetrack notifications to Teams channel.
It sends events when:
- job is submitted (job deployed)
- job is deleted
-
Create webhook for a Teams channel - https://docs.microsoft.com/en-us/microsoftteams/platform/webhooks-and-connectors/how-to/add-incoming-webhook
-
Set
TEAMS_WEBHOOK
environment variable to your webhook URL for Lifcycle component. You can set different webhooks for different deployment environments. For instance:
apiVersion: apps/v1
kind: Deployment
metadata:
namespace: racetrack
name: lifecycle
spec:
replicas: 1
template:
spec:
containers:
- name: lifecycle
env:
- name: TEAMS_WEBHOOK
value: 'https://webhook.office.com/webhookb2/...'
-
Install
racetrack
client and generate ZIP plugin by runningmake bundle
. -
Activate the plugin in Racetrack Dashboard Admin page by uploading the zipped plugin file.