coopcloud.tech/.drone.yml

40 lines
912 B
YAML
Raw Permalink Normal View History

2021-01-09 18:42:21 +00:00
---
kind: pipeline
name: deploy to swarm.autonomic.zone
steps:
- name: bundle static
image: plugins/docker
settings:
2021-06-17 19:06:16 +00:00
username: thecoopcloud
2021-01-09 18:42:21 +00:00
password:
2021-06-17 19:06:16 +00:00
from_secret: thecoopcloud_password
repo: thecoopcloud/coopcloud.tech
2021-01-09 18:42:21 +00:00
tags: latest
- name: deployment
image: decentral1se/stack-ssh-deploy:latest
settings:
stack: coop_cloud_site
2021-01-09 18:42:21 +00:00
deploy_key:
from_secret: drone_ssh_swarm.autonomic.zone
2021-10-28 11:55:40 +00:00
depends_on:
- bundle static
2021-06-03 21:36:48 +00: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: autono_bot_access_token
depends_on:
- bundle static
- deployment
when:
status:
- failure
2021-01-09 18:42:21 +00:00
trigger:
branch:
- main