ci: switch to drone-matrix plugin
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Robert Kaussow 2021-09-19 21:48:23 +02:00
parent f65aa1ed0d
commit 02cc961198
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0

View File

@ -7,7 +7,7 @@ platform:
arch: amd64
steps:
- name: markdownlint
- name: markdownlint
image: thegeeklab/markdownlint-cli
commands:
- markdownlint 'README.md'
@ -27,7 +27,7 @@ platform:
arch: amd64
steps:
- name: dryrun
- name: dryrun
image: thegeeklab/drone-docker-buildx:20
settings:
build_args:
@ -43,7 +43,7 @@ steps:
ref:
- refs/pull/**
- name: tags
- name: tags
image: thegeeklab/docker-autotag
environment:
DOCKER_AUTOTAG_FORCE_LATEST: True
@ -57,7 +57,7 @@ steps:
depends_on:
- dryrun
- name: changelog-generate
- name: changelog-generate
image: thegeeklab/git-chglog
commands:
- git fetch -tq
@ -65,7 +65,7 @@ steps:
depends_on:
- tags
- name: changelog-format
- name: changelog-format
image: thegeeklab/alpine-tools
commands:
- prettier CHANGELOG.md
@ -73,7 +73,7 @@ steps:
depends_on:
- changelog-generate
- name: publish-dockerhub
- name: publish-dockerhub
image: thegeeklab/drone-docker-buildx:20
settings:
build_args:
@ -91,7 +91,7 @@ steps:
depends_on:
- changelog-format
- name: publish-quay
- name: publish-quay
image: thegeeklab/drone-docker-buildx:20
settings:
build_args:
@ -110,7 +110,7 @@ steps:
depends_on:
- changelog-format
- name: publish-gitea
- name: publish-gitea
image: plugins/gitea-release
settings:
api_key:
@ -133,7 +133,7 @@ trigger:
- refs/tags/**
depends_on:
- test
- test
---
kind: pipeline
@ -144,7 +144,7 @@ platform:
arch: amd64
steps:
- name: pushrm-dockerhub
- name: pushrm-dockerhub
pull: always
image: chko/docker-pushrm:1
environment:
@ -159,7 +159,7 @@ steps:
status:
- success
- name: pushrm-quay
- name: pushrm-quay
pull: always
image: chko/docker-pushrm:1
environment:
@ -171,8 +171,8 @@ steps:
status:
- success
- name: matrix
image: plugins/matrix
- name: matrix
image: thegeeklab/drone-matrix
settings:
homeserver:
from_secret: matrix_homeserver
@ -180,7 +180,7 @@ steps:
from_secret: matrix_password
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
when:
@ -197,10 +197,10 @@ trigger:
- failure
depends_on:
- build-container
- build-container
---
kind: signature
hmac: 281a3574a24bdd5504af5ab5574ca4852c7a5ce7c90de6b307922e6806cb9357
hmac: 2a906f3a32b1caf636b52d00295b430d492282b48e805e005558bbc88ffc8a04
...