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 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