From ca2a3c8b5846eac1cd8ec3fef00bbe4f36485dd3 Mon Sep 17 00:00:00 2001 From: decentral1se Date: Thu, 3 Jun 2021 23:26:33 +0200 Subject: [PATCH] Add notify failures --- .drone.yml | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/.drone.yml b/.drone.yml index 23852dd..4e4e397 100644 --- a/.drone.yml +++ b/.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