forked from coop-cloud/plausible
52 lines
1.1 KiB
YAML
52 lines
1.1 KiB
YAML
---
|
|
kind: pipeline
|
|
name: deploy to swarm-test.autonomic.zone
|
|
steps:
|
|
- name: deployment
|
|
image: decentral1se/stack-ssh-deploy:latest
|
|
settings:
|
|
host: swarm-test.autonomic.zone
|
|
stack: plausible
|
|
networks:
|
|
- proxy
|
|
purge: true
|
|
deploy_key:
|
|
from_secret: drone_ssh_swarm_test
|
|
environment:
|
|
DOMAIN: plausible.swarm-test.autonomic.zone
|
|
LETS_ENCRYPT_ENV: production
|
|
|
|
- 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
|
|
trigger:
|
|
branch:
|
|
- main
|
|
|
|
---
|
|
kind: pipeline
|
|
name: generate recipe catalogue
|
|
steps:
|
|
- name: release a new version
|
|
image: plugins/downstream
|
|
settings:
|
|
server: https://build.coopcloud.tech
|
|
token:
|
|
from_secret: drone_abra-bot_token
|
|
fork: true
|
|
repositories:
|
|
- coop-cloud/auto-recipes-catalogue-json
|
|
|
|
trigger:
|
|
event: tag
|