Add automation docs
continuous-integration/drone/push Build is passing Details

This commit is contained in:
decentral1se 2021-06-03 23:39:04 +02:00
parent b33d48c51c
commit bb1cc52b54
Signed by: decentral1se
GPG Key ID: 92DAD76BD9567B8A
1 changed files with 42 additions and 0 deletions

View File

@ -96,3 +96,45 @@ include services with several different images.
[gitea]: https://git.autonomic.zone/coop-cloud/gitea/src/tag/1.13.4
[tags]: https://docs.docker.com/engine/reference/commandline/tag/
## Automation
## Upgrades
See [autonomic-cooperative/renovate-bot](https://git.autonomic.zone/autonomic-cooperative/renovate-bot).
## Releases
```
---
kind: pipeline
name: recipe release
steps:
- name: release a new version
image: decentral1se/drone-abra:latest
settings:
command: recipe ${REPO_NAME} release
deploy_key:
from_secret: abra_bot_deploy_key
trigger:
event:
- tag
```
## Failure notifications
```yaml
- name: notify coopcloud-dev 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:
- deployment
when:
status:
- failure
```