fix drone pipeline

This commit is contained in:
Robert Kaussow 2019-10-10 22:44:04 +02:00
parent 4240be5125
commit 8f588f648d
2 changed files with 7 additions and 5 deletions

View File

@ -289,8 +289,8 @@ local PipelineNotifications = {
name: "matrix", name: "matrix",
image: "plugins/matrix", image: "plugins/matrix",
settings: { settings: {
homeserver: "https://matrix.rknet.org", homeserver: { "from_secret": "matrix_homeserver" },
roomid: "MtidqQXWWAtQcByBhH:rknet.org", 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 {{ build.author }}<br/> Message: {{ build.message }}",
username: { "from_secret": "matrix_username" }, username: { "from_secret": "matrix_username" },
password: { "from_secret": "matrix_password" }, password: { "from_secret": "matrix_password" },

View File

@ -422,10 +422,12 @@ steps:
- name: matrix - name: matrix
image: plugins/matrix image: plugins/matrix
settings: settings:
homeserver: https://matrix.rknet.org homeserver:
from_secret: matrix_homeserver
password: password:
from_secret: matrix_password from_secret: matrix_password
roomid: MtidqQXWWAtQcByBhH:rknet.org 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 {{ build.author }}<br/> Message: {{ build.message }}"
username: username:
from_secret: matrix_username from_secret: matrix_username
@ -446,6 +448,6 @@ depends_on:
--- ---
kind: signature kind: signature
hmac: 16fda397e94995b67b04af6d36fb22c81393687fce44291b980d4e9812f39125 hmac: 04876d1de8c58e1e070643c6218cb343fd1e100cb5956ce0af99cc4fec762fcc
... ...