fix drone yaml format and switch to drone-matrix plugin (#5)
This commit is contained in:
parent
aef7fb81cb
commit
2feec9334f
|
@ -168,7 +168,7 @@ local PipelineNotifications(deps=[],) = {
|
||||||
settings: {
|
settings: {
|
||||||
homeserver: { from_secret: 'matrix_homeserver' },
|
homeserver: { from_secret: 'matrix_homeserver' },
|
||||||
roomid: { from_secret: 'matrix_roomid' },
|
roomid: { from_secret: 'matrix_roomid' },
|
||||||
template: 'Status: **{{ build.status }}**<br/> Build: [{{ repo.Owner }}/{{ repo.Name }}]({{ build.link }}) ({{ build.branch }}) by {{ build.author }}<br/> Message: {{ build.message }}',
|
template: 'Status: **{{ build.Status }}**<br/> Build: [{{ repo.Owner }}/{{ repo.Name }}]({{ build.Link }}) ({{ build.Branch }}) by {{ commit.Author }}<br/> Message: {{ commit.Message }}',
|
||||||
username: { from_secret: 'matrix_username' },
|
username: { from_secret: 'matrix_username' },
|
||||||
password: { from_secret: 'matrix_password' },
|
password: { from_secret: 'matrix_password' },
|
||||||
},
|
},
|
||||||
|
|
|
@ -144,7 +144,7 @@ steps:
|
||||||
from_secret: matrix_password
|
from_secret: matrix_password
|
||||||
roomid:
|
roomid:
|
||||||
from_secret: matrix_roomid
|
from_secret: matrix_roomid
|
||||||
template: "Status: **{{ build.status }}**<br/> Build: [{{ repo.Owner }}/{{ repo.Name }}]({{ build.link }}) ({{ build.branch }}) by {{ build.author }}<br/> Message: {{ build.message }}"
|
template: "Status: **{{ build.Status }}**<br/> Build: [{{ repo.Owner }}/{{ repo.Name }}]({{ build.Link }}) ({{ build.Branch }}) by {{ commit.Author }}<br/> Message: {{ commit.Message }}"
|
||||||
username:
|
username:
|
||||||
from_secret: matrix_username
|
from_secret: matrix_username
|
||||||
when:
|
when:
|
||||||
|
@ -165,4 +165,6 @@ depends_on:
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: 42a2167ae9705a4a04a27f4b333263c30dab5921dac8eed61fee0636d4e1ed50
|
hmac: 1ce4587c06e6c53cfb4ea79d2a645174eebde037849ac76ca5e1a6e6937bb9c0
|
||||||
|
|
||||||
|
...
|
||||||
|
|
|
@ -53,12 +53,3 @@ branches:
|
||||||
- continuous-integration/drone/pr
|
- continuous-integration/drone/pr
|
||||||
enforce_admins: null
|
enforce_admins: null
|
||||||
restrictions: null
|
restrictions: null
|
||||||
- name: docs
|
|
||||||
protection:
|
|
||||||
required_pull_request_reviews: null
|
|
||||||
required_status_checks: null
|
|
||||||
enforce_admins: true
|
|
||||||
restrictions:
|
|
||||||
users: []
|
|
||||||
teams:
|
|
||||||
- bot
|
|
||||||
|
|
Loading…
Reference in New Issue