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 flake8
|
||||||
- run unit tests
|
- run unit tests
|
||||||
|
|
||||||
- name: notify rocket chat
|
- name: notify coopcloud-dev on failure
|
||||||
image: plugins/slack
|
image: plugins/matrix
|
||||||
settings:
|
settings:
|
||||||
webhook:
|
homeserver: https://matrix.autonomic.zone
|
||||||
from_secret: rc_builds_url
|
roomid: "IFazIpLtxiScqbHqoa:autonomic.zone"
|
||||||
username: comradebritney
|
userid: "@autono-bot:autonomic.zone"
|
||||||
channel: "internal.builds"
|
accesstoken:
|
||||||
template: "{{repo.owner}}/{{repo.name}} build failed: {{build.link}}"
|
from_secret: autono_bot_access_token
|
||||||
|
depends_on:
|
||||||
|
- run shellcheck
|
||||||
|
- run flake8
|
||||||
|
- run unit tests
|
||||||
when:
|
when:
|
||||||
status:
|
status:
|
||||||
- failure
|
- failure
|
||||||
|
Reference in New Issue
Block a user