diff --git a/.drone.jsonnet b/.drone.jsonnet index 8a6fe66..52699d8 100644 --- a/.drone.jsonnet +++ b/.drone.jsonnet @@ -268,7 +268,7 @@ local PipelineNotifications = { DOCKERHUB_REPO_PREFIX: "xoxys", DOCKERHUB_REPO_NAME: "ansible-later", README_PATH: "README.md", - SHORT_DESCRIPTION: "ansible-later - Simple annotation based documentation for your roles" + SHORT_DESCRIPTION: "ansible-later - lovely automation testing framework" }, when: { ref: [ @@ -295,6 +295,9 @@ local PipelineNotifications = { username: { "from_secret": "matrix_username" }, password: { "from_secret": "matrix_password" }, }, + when: { + status: [ "success", "failure" ], + }, }, ], depends_on: [ diff --git a/.drone.yml b/.drone.yml index 4de0cb6..49580af 100644 --- a/.drone.yml +++ b/.drone.yml @@ -406,7 +406,7 @@ steps: DOCKERHUB_USERNAME: from_secret: docker_username README_PATH: README.md - SHORT_DESCRIPTION: ansible-later - Simple annotation based documentation for your roles + SHORT_DESCRIPTION: ansible-later - lovely automation testing framework when: ref: - refs/heads/master @@ -431,6 +431,10 @@ steps: template: "Status: **{{ build.status }}**
Build: [{{ repo.Owner }}/{{ repo.Name }}]({{ build.link }}) ({{ build.branch }}) by {{ build.author }}
Message: {{ build.message }}" username: from_secret: matrix_username + when: + status: + - success + - failure trigger: ref: @@ -448,6 +452,6 @@ depends_on: --- kind: signature -hmac: 04876d1de8c58e1e070643c6218cb343fd1e100cb5956ce0af99cc4fec762fcc +hmac: 825a77f8fb6f029b87bf463a2f2d670a8d0297f3cf17684787188362eba6a336 ...