Add notify failures
This commit is contained in:
parent
a5c5526948
commit
ca2a3c8b58
18
.drone.yml
18
.drone.yml
@ -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
|
||||
|
Reference in New Issue
Block a user