forked from coop-cloud/gitea
48 lines
1.3 KiB
YAML
48 lines
1.3 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: gitea
|
|
generate_secrets: true
|
|
purge: true
|
|
deploy_key:
|
|
from_secret: drone_ssh_swarm_test
|
|
environment:
|
|
APP_INI_VERSION: v1
|
|
DOCKER_SETUP_SH_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: recipe release
|
|
steps:
|
|
- name: release a new version
|
|
image: thecoopcloud/drone-abra:latest
|
|
settings:
|
|
command: recipe gitea release
|
|
deploy_key:
|
|
from_secret: abra_bot_deploy_key
|