Chore: Make drone failed nightly checks send slack messages to #grafana-backend (#35076) (#35079)

(cherry picked from commit 27ad970c2b)

Co-authored-by: Dimitris Sotirakis <dimitrios.sotirakis@grafana.com>
This commit is contained in:
Grot (@grafanabot)
2021-06-02 03:14:07 -04:00
committed by GitHub
parent 4344975654
commit 17e92cc436
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -3466,7 +3466,7 @@ steps:
channel: grafana-backend
template: "Nightly docker image scan job for {{repo.name}} failed: {{build.link}}"
webhook:
from_secret: slack_webhook
from_secret: slack_webhook_backend
when:
status:
- failure
+2 -2
View File
@@ -14,7 +14,7 @@ def cronjobs(edition):
'os': 'linux',
'arch': 'amd64',
}
steps=[
steps=[
scan_docker_image_unkown_low_medium_vulnerabilities_step(edition),
scan_docker_image_high_critical_vulnerabilities_step(edition),
slack_job_failed_step('grafana-backend'),
@@ -59,7 +59,7 @@ def slack_job_failed_step(channel):
'name': 'slack-notify-failure',
'image': 'plugins/slack',
'settings': {
'webhook': from_secret('slack_webhook'),
'webhook': from_secret('slack_webhook_backend'),
'channel': channel,
'template': 'Nightly docker image scan job for {{repo.name}} failed: {{build.link}}',
},