2021-11-07 00:06:05 +01:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
name: deploy to swarm.autonomic.zone
|
|
|
|
steps:
|
|
|
|
- name: deployment
|
|
|
|
image: decentral1se/stack-ssh-deploy:latest
|
|
|
|
settings:
|
2022-05-04 11:19:42 +02:00
|
|
|
stack: recipes_coopcloud_tech_json
|
|
|
|
host: mellor.coopcloud.tech
|
2021-11-07 00:06:05 +01:00
|
|
|
deploy_key:
|
2022-05-04 11:19:42 +02:00
|
|
|
from_secret: drone_ssh_coopcloud_mellor
|
2021-11-07 00:06:05 +01:00
|
|
|
|
|
|
|
- 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: autonobot_rocketchat_access_token
|
|
|
|
depends_on:
|
|
|
|
- deployment
|
|
|
|
when:
|
|
|
|
status:
|
|
|
|
- failure
|
|
|
|
trigger:
|
|
|
|
branch:
|
|
|
|
- main
|