From 8f588f648d937d18e9376b3a6169110e389f39fb Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Thu, 10 Oct 2019 22:44:04 +0200 Subject: [PATCH] fix drone pipeline --- .drone.jsonnet | 4 ++-- .drone.yml | 8 +++++--- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.drone.jsonnet b/.drone.jsonnet index c636cd4..8a6fe66 100644 --- a/.drone.jsonnet +++ b/.drone.jsonnet @@ -289,8 +289,8 @@ local PipelineNotifications = { name: "matrix", image: "plugins/matrix", settings: { - homeserver: "https://matrix.rknet.org", - roomid: "MtidqQXWWAtQcByBhH:rknet.org", + homeserver: { "from_secret": "matrix_homeserver" }, + roomid: { "from_secret": "matrix_roomid" }, template: "Status: **{{ build.status }}**
Build: [{{ repo.Owner }}/{{ repo.Name }}]({{ build.link }}) ({{ build.branch }}) by {{ build.author }}
Message: {{ build.message }}", username: { "from_secret": "matrix_username" }, password: { "from_secret": "matrix_password" }, diff --git a/.drone.yml b/.drone.yml index 04c3372..4de0cb6 100644 --- a/.drone.yml +++ b/.drone.yml @@ -422,10 +422,12 @@ steps: - name: matrix image: plugins/matrix settings: - homeserver: https://matrix.rknet.org + homeserver: + from_secret: matrix_homeserver password: from_secret: matrix_password - roomid: MtidqQXWWAtQcByBhH:rknet.org + roomid: + from_secret: matrix_roomid template: "Status: **{{ build.status }}**
Build: [{{ repo.Owner }}/{{ repo.Name }}]({{ build.link }}) ({{ build.branch }}) by {{ build.author }}
Message: {{ build.message }}" username: from_secret: matrix_username @@ -446,6 +448,6 @@ depends_on: --- kind: signature -hmac: 16fda397e94995b67b04af6d36fb22c81393687fce44291b980d4e9812f39125 +hmac: 04876d1de8c58e1e070643c6218cb343fd1e100cb5956ce0af99cc4fec762fcc ...