ci: switch to drone-matrix plugin
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
26dd1da0d7
commit
7f3cd38e0c
36
.drone.yml
36
.drone.yml
|
@ -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: binary
|
||||
- name: binary
|
||||
image: clux/muslrust:nightly-2021-04-14
|
||||
commands:
|
||||
- apt-get -qq update && apt-get install -yqq --no-install-recommends libpq-dev
|
||||
|
@ -35,7 +35,7 @@ steps:
|
|||
environment:
|
||||
BUILD_VERSION: ${DRONE_TAG%-*}
|
||||
|
||||
- name: verify
|
||||
- name: verify
|
||||
image: alpine
|
||||
commands:
|
||||
- src/target/x86_64-unknown-linux-musl/release/vaultwarden --help
|
||||
|
@ -43,7 +43,7 @@ steps:
|
|||
depends_on:
|
||||
- binary
|
||||
|
||||
- name: dryrun
|
||||
- name: dryrun
|
||||
image: thegeeklab/drone-docker-buildx:20
|
||||
settings:
|
||||
dockerfile: Dockerfile
|
||||
|
@ -59,7 +59,7 @@ steps:
|
|||
depends_on:
|
||||
- verify
|
||||
|
||||
- name: tags
|
||||
- name: tags
|
||||
image: thegeeklab/docker-autotag
|
||||
environment:
|
||||
DOCKER_AUTOTAG_FORCE_LATEST: True
|
||||
|
@ -73,7 +73,7 @@ steps:
|
|||
depends_on:
|
||||
- dryrun
|
||||
|
||||
- name: changelog-generate
|
||||
- name: changelog-generate
|
||||
image: thegeeklab/git-chglog
|
||||
commands:
|
||||
- git fetch -tq
|
||||
|
@ -81,7 +81,7 @@ steps:
|
|||
depends_on:
|
||||
- tags
|
||||
|
||||
- name: changelog-format
|
||||
- name: changelog-format
|
||||
image: thegeeklab/alpine-tools
|
||||
commands:
|
||||
- prettier CHANGELOG.md
|
||||
|
@ -89,7 +89,7 @@ steps:
|
|||
depends_on:
|
||||
- changelog-generate
|
||||
|
||||
- name: publish-dockerhub
|
||||
- name: publish-dockerhub
|
||||
image: thegeeklab/drone-docker-buildx:20
|
||||
settings:
|
||||
dockerfile: Dockerfile
|
||||
|
@ -105,7 +105,7 @@ steps:
|
|||
depends_on:
|
||||
- changelog-format
|
||||
|
||||
- name: publish-quay
|
||||
- name: publish-quay
|
||||
image: thegeeklab/drone-docker-buildx:20
|
||||
settings:
|
||||
dockerfile: Dockerfile
|
||||
|
@ -122,7 +122,7 @@ steps:
|
|||
depends_on:
|
||||
- changelog-format
|
||||
|
||||
- name: publish-gitea
|
||||
- name: publish-gitea
|
||||
image: plugins/gitea-release
|
||||
settings:
|
||||
api_key:
|
||||
|
@ -145,7 +145,7 @@ trigger:
|
|||
- refs/tags/**
|
||||
|
||||
depends_on:
|
||||
- test
|
||||
- test
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
|
@ -156,7 +156,7 @@ platform:
|
|||
arch: amd64
|
||||
|
||||
steps:
|
||||
- name: pushrm-dockerhub
|
||||
- name: pushrm-dockerhub
|
||||
pull: always
|
||||
image: chko/docker-pushrm:1
|
||||
environment:
|
||||
|
@ -171,7 +171,7 @@ steps:
|
|||
status:
|
||||
- success
|
||||
|
||||
- name: pushrm-quay
|
||||
- name: pushrm-quay
|
||||
pull: always
|
||||
image: chko/docker-pushrm:1
|
||||
environment:
|
||||
|
@ -183,8 +183,8 @@ steps:
|
|||
status:
|
||||
- success
|
||||
|
||||
- name: matrix
|
||||
image: plugins/matrix
|
||||
- name: matrix
|
||||
image: thegeeklab/drone-matrix
|
||||
settings:
|
||||
homeserver:
|
||||
from_secret: matrix_homeserver
|
||||
|
@ -192,7 +192,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:
|
||||
|
@ -209,10 +209,10 @@ trigger:
|
|||
- failure
|
||||
|
||||
depends_on:
|
||||
- build-container
|
||||
- build-container
|
||||
|
||||
---
|
||||
kind: signature
|
||||
hmac: c154ec6b9e2c325bc15353640277a9e618e69cbd5e433c9439e833e2694aba4e
|
||||
hmac: e79ac30892015d4a53e0981ac2568945732414feba8f108ec4ad89a3aa3c9544
|
||||
|
||||
...
|
||||
|
|
Loading…
Reference in New Issue