This repository has been archived on 2021-06-17. You can view files and clone it, but cannot push or open issues or pull requests.
2021-06-05 20:54:36 +00:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
name: mirror repositories
|
|
|
|
steps:
|
|
|
|
- name: mirror recipes to github
|
2021-06-17 19:26:47 +00:00
|
|
|
image: thecoopcloud/abra
|
2021-06-05 20:54:36 +00:00
|
|
|
commands:
|
|
|
|
- /root/.local/bin/github-sync.py
|
|
|
|
environment:
|
|
|
|
GITHUB_ACCESS_TOKEN:
|
2021-06-17 05:57:49 +00:00
|
|
|
from_secret: coopcloudbot_access_token
|
2021-06-05 20:54:36 +00:00
|
|
|
|
|
|
|
- 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:
|
2021-06-05 20:56:19 +00:00
|
|
|
- mirror recipes to github
|
2021-06-05 20:54:36 +00:00
|
|
|
when:
|
|
|
|
status:
|
|
|
|
- failure
|
|
|
|
trigger:
|
|
|
|
branch:
|
|
|
|
- main
|