generated from coop-cloud/example
42 lines
966 B
YAML
42 lines
966 B
YAML
---
|
|
kind: pipeline
|
|
name: deploy to swarm-test.autonomic.zone
|
|
steps:
|
|
- name: deployment
|
|
image: git.coopcloud.tech/coop-cloud/stack-ssh-deploy:latest
|
|
settings:
|
|
host: swarm-test.autonomic.zone
|
|
stack: peertube
|
|
generate_secrets: true
|
|
networks:
|
|
- proxy
|
|
purge: true
|
|
deploy_key:
|
|
from_secret: drone_ssh_swarm_test
|
|
environment:
|
|
DOMAIN: peertube.swarm-test.autonomic.zone
|
|
STACK_NAME: peertube
|
|
LETS_ENCRYPT_ENV: production
|
|
NGINX_CONFIG_VERSION: v1
|
|
APP_ENTRYPOINT_VERSION: v1
|
|
SECRET_DB_PASSWORD_VERSION: v1
|
|
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
|