mirror of
https://github.com/thegeeklab/wait-for.git
synced 2024-11-04 20:10:41 +00:00
66 lines
1.0 KiB
YAML
66 lines
1.0 KiB
YAML
---
|
|
kind: pipeline
|
|
type: docker
|
|
name: testing
|
|
|
|
platform:
|
|
os: linux
|
|
arch: amd64
|
|
|
|
steps:
|
|
- name: lint
|
|
image: koalaman/shellcheck-alpine:stable
|
|
commands:
|
|
- shellcheck ./wait-for
|
|
|
|
- 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
|
|
hmac: 6598a24cb0cb1cb6b21426c5085dcf5fd63b38ea6cb4492f04b06149361bd82a
|
|
|
|
...
|