wait-for/.drone.yml

66 lines
1.0 KiB
YAML
Raw Normal View History

2020-02-03 15:51:44 +00:00
---
kind: pipeline
type: docker
name: testing
platform:
os: linux
arch: amd64
steps:
2020-02-03 15:56:25 +00:00
- name: lint
image: koalaman/shellcheck-alpine:stable
commands:
- shellcheck ./wait-for
2020-02-03 15:51:44 +00:00
- name: test
image: bats/bats
commands:
- bats ./wait-for.bats
trigger:
ref:
- refs/heads/master
- refs/tags/**
- refs/pull/**
---
kind: pipeline
type: docker
name: notification
platform:
os: linux
arch: amd64
steps:
- name: matrix
image: plugins/matrix
settings:
homeserver:
from_secret: matrix_homeserver
password:
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 }}"
username:
from_secret: matrix_username
trigger:
ref:
- refs/heads/master
- refs/tags/**
status:
- success
- failure
depends_on:
- testing
---
kind: signature
2020-02-03 16:05:30 +00:00
hmac: c55f36569755b5cc723945669fd04f04c0f6e46649b08106a599a762157f6cf7
2020-02-03 15:51:44 +00:00
...