Drone: Add Slack failure notifier (#27920)

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
This commit is contained in:
Arve Knudsen
2020-09-30 11:04:37 +02:00
committed by GitHub
parent 739395abb6
commit 34a355fe54
2 changed files with 69 additions and 13 deletions

View File

@@ -276,6 +276,17 @@ steps:
environment:
DOCKERIZE_VERSION: 0.6.1
- name: slack
image: plugins/slack
settings:
channel: grafana-ci-failures
template: "Build {{build.number}} failed: {{build.link}}"
webhook:
from_secret: slack_webhook
when:
status:
- failure
- name: trigger-enterprise-downstream
image: grafana/drone-downstream
settings:
@@ -642,6 +653,17 @@ steps:
environment:
DOCKERIZE_VERSION: 0.6.1
- name: slack
image: plugins/slack
settings:
channel: grafana-ci-failures
template: "Build {{build.number}} failed: {{build.link}}"
webhook:
from_secret: slack_webhook
when:
status:
- failure
- name: publish-packages
image: grafana/grafana-ci-deploy:1.2.6
commands: