xoxys.matrix/.drone.yml

39 lines
1.2 KiB
YAML
Raw Normal View History

2019-01-18 14:52:23 +01:00
---
kind: pipeline
name: default
steps:
- name: ansible-latest
image: python:2.7
pull: always
commands:
- pip install ansible ansible-later -q
- git clone https://gitea.rknet.org/ansible/ansible-later-policy.git ~/policy
- git ls-files *[^LICENSE,.md] | xargs ansible-later -c ~/policy/config.ini
2019-01-22 00:14:48 +01:00
depends_on:
- clone
2019-01-18 14:52:23 +01:00
- name: ansible-master
image: python:2.7
pull: always
commands:
- pip install ansible ansible-later -q
- git clone https://gitea.rknet.org/ansible/ansible-later-policy.git ~/policy
- git ls-files *[^LICENSE,.md] | xargs ansible-later -c ~/policy/config.ini
2019-01-22 00:14:48 +01:00
depends_on:
- clone
2019-01-22 00:01:08 +01:00
2019-01-21 23:53:15 +01:00
- name: notify
image: plugins/matrix
settings:
homeserver: https://matrix.rknet.org
2019-01-21 23:54:34 +01:00
roomid: MtidqQXWWAtQcByBhH:rknet.org
template: "Status: [**_{{ build.status }}_**]({{ build.link }})<br/> Build: {{ repo.Owner }}/{{ repo.Name }} ({{ build.branch }}) by {{ build.author }}<br/> Message: {{ build.message }}"
2019-01-22 00:39:42 +01:00
username:
from_secret: matrix_username
password:
from_secret: matrix_password
2019-01-22 00:14:48 +01:00
depends_on:
- ansible-latest
- ansible-master