Skip to content

TheRacetrack/plugin-teams-notifications

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Racetrack Plugin: Teams Notifications

This plugin sends Racetrack notifications to Teams channel.

It sends events when:

  • job is submitted (job deployed)
  • job is deleted

Setup

  1. Create webhook for a Teams channel - https://docs.microsoft.com/en-us/microsoftteams/platform/webhooks-and-connectors/how-to/add-incoming-webhook

  2. 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/...'
  1. Install racetrack client and generate ZIP plugin by running make bundle.

  2. Activate the plugin in Racetrack Dashboard Admin page by uploading the zipped plugin file.