32 lines
607 B
YAML
32 lines
607 B
YAML
---
|
|
kind: pipeline
|
|
name: coopcloud.tech/abra
|
|
steps:
|
|
- name: make check
|
|
image: golang:1.16
|
|
commands:
|
|
- make check
|
|
|
|
- name: make build
|
|
image: golang:1.16
|
|
commands:
|
|
- make build
|
|
|
|
- name: notify on failure
|
|
image: plugins/matrix
|
|
settings:
|
|
homeserver: https://matrix.autonomic.zone
|
|
roomid: "IFazIpLtxiScqbHqoa:autonomic.zone"
|
|
userid: "@autono-bot:autonomic.zone"
|
|
accesstoken:
|
|
from_secret: autono_bot_access_token
|
|
depends_on:
|
|
- make check
|
|
- make build
|
|
when:
|
|
status:
|
|
- failure
|
|
trigger:
|
|
branch:
|
|
- main
|