Add notify failures
continuous-integration/drone/push Build is passing Details

This commit is contained in:
decentral1se 2021-06-03 23:26:33 +02:00
parent a5c5526948
commit ca2a3c8b58
Signed by: decentral1se
GPG Key ID: 92DAD76BD9567B8A
1 changed files with 11 additions and 7 deletions

View File

@ -33,14 +33,18 @@ steps:
- run flake8
- run unit tests
- name: notify rocket chat
image: plugins/slack
- name: notify coopcloud-dev on failure
image: plugins/matrix
settings:
webhook:
from_secret: rc_builds_url
username: comradebritney
channel: "internal.builds"
template: "{{repo.owner}}/{{repo.name}} build failed: {{build.link}}"
homeserver: https://matrix.autonomic.zone
roomid: "IFazIpLtxiScqbHqoa:autonomic.zone"
userid: "@autono-bot:autonomic.zone"
accesstoken:
from_secret: autono_bot_access_token
depends_on:
- run shellcheck
- run flake8
- run unit tests
when:
status:
- failure