add build notifications

This commit is contained in:
wowario 2020-07-26 00:42:11 +03:00
parent bda76b6be9
commit b703c8bba4
No known key found for this signature in database
GPG key ID: 24DCBE762DE9C111

View file

@ -1,10 +1,34 @@
--- ---
kind: pipeline kind: pipeline
type: docker type: docker
name: default name: linux-build
steps: steps:
- name: wow-ci - name: linux-build
image: wow-dependencies:v1.0 image: wow-dependencies:v1.0
commands: commands:
- make -j2 release-static-linux-x86_64 - make -j2 release-static-linux-x86_64
- name: discord linux notification
image: appleboy/drone-discord
settings:
webhook_id:
from_secret: discord_webhook_id
webhook_token:
from_secret: discord_webhook_token
message: Linux build {{build.number}} complete. {{build.link}}
depends_on:
- linux-build
- name: matrix linux notification
image: plugins/matrix
settings:
homeserver: https://matrix.org
roomid: tfuEmpojJyhMTMjNeN:matrix.org
username:
from_secret: matrix_username
password:
from_secret: matrix_password
template: Linux build {{build.number}} complete. {{build.link}}
depends_on:
- linux-build