58 lines
1.5 KiB
YAML
58 lines
1.5 KiB
YAML
---
|
|
kind: pipeline
|
|
name: deploy to swarm-test.autonomic.zone
|
|
steps:
|
|
- name: deployment
|
|
image: thecoopcloud/stack-ssh-deploy:latest
|
|
settings:
|
|
host: swarm-test.autonomic.zone
|
|
stack: gitea
|
|
networks:
|
|
- proxy
|
|
generate_secrets: true
|
|
purge: true
|
|
deploy_key:
|
|
from_secret: drone_ssh_swarm_test
|
|
compose: "compose.yml:compose.mariadb.yml"
|
|
environment:
|
|
APP_INI_VERSION: v1
|
|
DOCKER_SETUP_SH_VERSION: v1
|
|
PG_BACKUP_VERSION: v1
|
|
DOMAIN: gitea.swarm-test.autonomic.zone
|
|
GITEA_ALLOW_ONLY_EXTERNAL_REGISTRATION: true
|
|
GITEA_APP_NAME: Git with solidaritea
|
|
GITEA_AUTO_WATCH_NEW_REPOS: false
|
|
GITEA_DISABLE_REGISTRATION: false
|
|
GITEA_DOMAIN: gitea.swarm-test.autonomic.zone
|
|
GITEA_ENABLE_NOTIFY_MAIL: false
|
|
GITEA_ENABLE_OPENID_SIGNIN: true
|
|
GITEA_ENABLE_OPENID_SIGNUP: true
|
|
GITEA_SSH_ENABLED: 1
|
|
GITEA_SSH_PORT: 2222
|
|
LETS_ENCRYPT_ENV: production
|
|
SECRET_DB_PASSWORD_VERSION: v1
|
|
SECRET_DB_ROOT_PASSWORD_VERSION: v1
|
|
SECRET_INTERNAL_TOKEN_VERSION: v1
|
|
SECRET_JWT_SECRET_VERSION: v1
|
|
SECRET_SECRET_KEY_VERSION: v1
|
|
STACK_NAME: gitea
|
|
trigger:
|
|
branch:
|
|
- master
|
|
---
|
|
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:
|
|
- toolshed/auto-recipes-catalogue-json
|
|
|
|
trigger:
|
|
event: tag
|