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:17 +02:00
parent 7a10f35cbd
commit d2657493b4
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
2 changed files with 271 additions and 271 deletions

View File

@ -167,11 +167,11 @@ local PipelineNotifications = {
},
{
name: 'matrix',
image: 'plugins/matrix',
image: 'thegeeklab/drone-matrix',
settings: {
homeserver: { from_secret: 'matrix_homeserver' },
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' },
password: { from_secret: 'matrix_password' },
},

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: tags
- name: tags
image: thegeeklab/docker-autotag
environment:
DOCKER_AUTOTAG_FORCE_LATEST: True
@ -36,7 +36,7 @@ steps:
DOCKER_AUTOTAG_SUFFIX: amd64
DOCKER_AUTOTAG_VERSION: ${DRONE_TAG}
- name: dryrun
- name: dryrun
pull: always
image: thegeeklab/drone-docker-buildx:20
settings:
@ -55,7 +55,7 @@ steps:
depends_on:
- tags
- name: publish-dockerhub
- name: publish-dockerhub
pull: always
image: thegeeklab/drone-docker-buildx:20
settings:
@ -72,7 +72,7 @@ steps:
depends_on:
- tags
- name: publish-quay
- name: publish-quay
pull: always
image: thegeeklab/drone-docker-buildx:20
settings:
@ -97,7 +97,7 @@ trigger:
- refs/pull/**
depends_on:
- test
- test
---
kind: pipeline
@ -108,7 +108,7 @@ platform:
arch: amd64
steps:
- name: tags
- name: tags
image: thegeeklab/docker-autotag
environment:
DOCKER_AUTOTAG_FORCE_LATEST: True
@ -117,7 +117,7 @@ steps:
DOCKER_AUTOTAG_SUFFIX: arm64
DOCKER_AUTOTAG_VERSION: ${DRONE_TAG}
- name: dryrun
- name: dryrun
pull: always
image: thegeeklab/drone-docker-buildx:20
settings:
@ -136,7 +136,7 @@ steps:
depends_on:
- tags
- name: publish-dockerhub
- name: publish-dockerhub
pull: always
image: thegeeklab/drone-docker-buildx:20
settings:
@ -153,7 +153,7 @@ steps:
depends_on:
- tags
- name: publish-quay
- name: publish-quay
pull: always
image: thegeeklab/drone-docker-buildx:20
settings:
@ -178,7 +178,7 @@ trigger:
- refs/pull/**
depends_on:
- test
- test
---
kind: pipeline
@ -189,7 +189,7 @@ platform:
arch: amd64
steps:
- name: tags
- name: tags
image: thegeeklab/docker-autotag
environment:
DOCKER_AUTOTAG_FORCE_LATEST: True
@ -198,7 +198,7 @@ steps:
DOCKER_AUTOTAG_SUFFIX: arm
DOCKER_AUTOTAG_VERSION: ${DRONE_TAG}
- name: dryrun
- name: dryrun
pull: always
image: thegeeklab/drone-docker-buildx:20
settings:
@ -217,7 +217,7 @@ steps:
depends_on:
- tags
- name: publish-dockerhub
- name: publish-dockerhub
pull: always
image: thegeeklab/drone-docker-buildx:20
settings:
@ -234,7 +234,7 @@ steps:
depends_on:
- tags
- name: publish-quay
- name: publish-quay
pull: always
image: thegeeklab/drone-docker-buildx:20
settings:
@ -259,7 +259,7 @@ trigger:
- refs/pull/**
depends_on:
- test
- test
---
kind: pipeline
@ -270,7 +270,7 @@ platform:
arch: amd64
steps:
- name: manifest-dockerhub
- name: manifest-dockerhub
image: plugins/manifest
settings:
ignore_missing: true
@ -283,7 +283,7 @@ steps:
status:
- success
- name: manifest-quay
- name: manifest-quay
image: plugins/manifest
settings:
ignore_missing: true
@ -296,7 +296,7 @@ steps:
status:
- success
- name: pushrm-dockerhub
- name: pushrm-dockerhub
pull: always
image: chko/docker-pushrm:1
environment:
@ -311,7 +311,7 @@ steps:
status:
- success
- name: pushrm-quay
- name: pushrm-quay
pull: always
image: chko/docker-pushrm:1
environment:
@ -323,8 +323,8 @@ steps:
status:
- success
- name: matrix
image: plugins/matrix
- name: matrix
image: thegeeklab/drone-matrix
settings:
homeserver:
from_secret: matrix_homeserver
@ -332,7 +332,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:
@ -349,12 +349,12 @@ trigger:
- failure
depends_on:
- build-container-amd64
- build-container-arm64
- build-container-arm
- build-container-amd64
- build-container-arm64
- build-container-arm
---
kind: signature
hmac: 5ba92b782daeae19415d7cecc8bcd0027f539c7e3c2c97794fba97ef8352f331
hmac: 3a17a1b2f7d0349e5b6d28d858edec39cfd0cdec42a3f8036b4a252ee2f786b2
...