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:25 +02:00
parent a1fa8e4187
commit 469d232fac
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
2 changed files with 262 additions and 262 deletions

View File

@ -164,11 +164,11 @@ local PipelineNotifications = {
}, },
{ {
name: 'matrix', name: 'matrix',
image: 'plugins/matrix', image: 'thegeeklab/drone-matrix',
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' },
}, },

View File

@ -7,7 +7,7 @@ platform:
arch: amd64 arch: amd64
steps: steps:
- name: markdownlint - name: markdownlint
image: thegeeklab/markdownlint-cli image: thegeeklab/markdownlint-cli
commands: commands:
- markdownlint 'README.md' - markdownlint 'README.md'
@ -27,7 +27,7 @@ platform:
arch: amd64 arch: amd64
steps: steps:
- name: tags - name: tags
image: thegeeklab/docker-autotag image: thegeeklab/docker-autotag
environment: environment:
DOCKER_AUTOTAG_FORCE_LATEST: True DOCKER_AUTOTAG_FORCE_LATEST: True
@ -36,7 +36,7 @@ steps:
DOCKER_AUTOTAG_SUFFIX: amd64 DOCKER_AUTOTAG_SUFFIX: amd64
DOCKER_AUTOTAG_VERSION: ${DRONE_TAG} DOCKER_AUTOTAG_VERSION: ${DRONE_TAG}
- name: dryrun - name: dryrun
image: thegeeklab/drone-docker-buildx:20 image: thegeeklab/drone-docker-buildx:20
settings: settings:
dockerfile: Dockerfile.amd64 dockerfile: Dockerfile.amd64
@ -54,7 +54,7 @@ steps:
depends_on: depends_on:
- tags - tags
- name: publish-dockerhub - name: publish-dockerhub
image: thegeeklab/drone-docker-buildx:20 image: thegeeklab/drone-docker-buildx:20
settings: settings:
dockerfile: Dockerfile.amd64 dockerfile: Dockerfile.amd64
@ -70,7 +70,7 @@ steps:
depends_on: depends_on:
- tags - tags
- name: publish-quay - name: publish-quay
image: thegeeklab/drone-docker-buildx:20 image: thegeeklab/drone-docker-buildx:20
settings: settings:
dockerfile: Dockerfile.amd64 dockerfile: Dockerfile.amd64
@ -94,7 +94,7 @@ trigger:
- refs/pull/** - refs/pull/**
depends_on: depends_on:
- test - test
--- ---
kind: pipeline kind: pipeline
@ -105,7 +105,7 @@ platform:
arch: amd64 arch: amd64
steps: steps:
- name: tags - name: tags
image: thegeeklab/docker-autotag image: thegeeklab/docker-autotag
environment: environment:
DOCKER_AUTOTAG_FORCE_LATEST: True DOCKER_AUTOTAG_FORCE_LATEST: True
@ -114,7 +114,7 @@ steps:
DOCKER_AUTOTAG_SUFFIX: arm64 DOCKER_AUTOTAG_SUFFIX: arm64
DOCKER_AUTOTAG_VERSION: ${DRONE_TAG} DOCKER_AUTOTAG_VERSION: ${DRONE_TAG}
- name: dryrun - name: dryrun
image: thegeeklab/drone-docker-buildx:20 image: thegeeklab/drone-docker-buildx:20
settings: settings:
dockerfile: Dockerfile.arm64 dockerfile: Dockerfile.arm64
@ -132,7 +132,7 @@ steps:
depends_on: depends_on:
- tags - tags
- name: publish-dockerhub - name: publish-dockerhub
image: thegeeklab/drone-docker-buildx:20 image: thegeeklab/drone-docker-buildx:20
settings: settings:
dockerfile: Dockerfile.arm64 dockerfile: Dockerfile.arm64
@ -148,7 +148,7 @@ steps:
depends_on: depends_on:
- tags - tags
- name: publish-quay - name: publish-quay
image: thegeeklab/drone-docker-buildx:20 image: thegeeklab/drone-docker-buildx:20
settings: settings:
dockerfile: Dockerfile.arm64 dockerfile: Dockerfile.arm64
@ -172,7 +172,7 @@ trigger:
- refs/pull/** - refs/pull/**
depends_on: depends_on:
- test - test
--- ---
kind: pipeline kind: pipeline
@ -183,7 +183,7 @@ platform:
arch: amd64 arch: amd64
steps: steps:
- name: tags - name: tags
image: thegeeklab/docker-autotag image: thegeeklab/docker-autotag
environment: environment:
DOCKER_AUTOTAG_FORCE_LATEST: True DOCKER_AUTOTAG_FORCE_LATEST: True
@ -192,7 +192,7 @@ steps:
DOCKER_AUTOTAG_SUFFIX: arm DOCKER_AUTOTAG_SUFFIX: arm
DOCKER_AUTOTAG_VERSION: ${DRONE_TAG} DOCKER_AUTOTAG_VERSION: ${DRONE_TAG}
- name: dryrun - name: dryrun
image: thegeeklab/drone-docker-buildx:20 image: thegeeklab/drone-docker-buildx:20
settings: settings:
dockerfile: Dockerfile.arm dockerfile: Dockerfile.arm
@ -210,7 +210,7 @@ steps:
depends_on: depends_on:
- tags - tags
- name: publish-dockerhub - name: publish-dockerhub
image: thegeeklab/drone-docker-buildx:20 image: thegeeklab/drone-docker-buildx:20
settings: settings:
dockerfile: Dockerfile.arm dockerfile: Dockerfile.arm
@ -226,7 +226,7 @@ steps:
depends_on: depends_on:
- tags - tags
- name: publish-quay - name: publish-quay
image: thegeeklab/drone-docker-buildx:20 image: thegeeklab/drone-docker-buildx:20
settings: settings:
dockerfile: Dockerfile.arm dockerfile: Dockerfile.arm
@ -250,7 +250,7 @@ trigger:
- refs/pull/** - refs/pull/**
depends_on: depends_on:
- test - test
--- ---
kind: pipeline kind: pipeline
@ -261,7 +261,7 @@ platform:
arch: amd64 arch: amd64
steps: steps:
- name: manifest-dockerhub - name: manifest-dockerhub
image: plugins/manifest image: plugins/manifest
settings: settings:
ignore_missing: true ignore_missing: true
@ -274,7 +274,7 @@ steps:
status: status:
- success - success
- name: manifest-quay - name: manifest-quay
image: plugins/manifest image: plugins/manifest
settings: settings:
ignore_missing: true ignore_missing: true
@ -287,7 +287,7 @@ steps:
status: status:
- success - success
- name: pushrm-dockerhub - name: pushrm-dockerhub
pull: always pull: always
image: chko/docker-pushrm:1 image: chko/docker-pushrm:1
environment: environment:
@ -302,7 +302,7 @@ steps:
status: status:
- success - success
- name: pushrm-quay - name: pushrm-quay
pull: always pull: always
image: chko/docker-pushrm:1 image: chko/docker-pushrm:1
environment: environment:
@ -314,8 +314,8 @@ steps:
status: status:
- success - success
- name: matrix - name: matrix
image: plugins/matrix image: thegeeklab/drone-matrix
settings: settings:
homeserver: homeserver:
from_secret: matrix_homeserver from_secret: matrix_homeserver
@ -323,7 +323,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:
@ -340,12 +340,12 @@ trigger:
- failure - failure
depends_on: depends_on:
- build-container-amd64 - build-container-amd64
- build-container-arm64 - build-container-arm64
- build-container-arm - build-container-arm
--- ---
kind: signature kind: signature
hmac: cf791bc917fa661d98eacaf3b7e674c1fec3c0c3cd2e42b56d068bea4950fcd8 hmac: 92820ca2e54b0557e94ca6bbef62d182077a5f0fee1bc66c3a89bd4f76db5354
... ...