Use swarm deployment for drone
This commit is contained in:
parent
f88d54f535
commit
acb43e7537
23
.drone.yml
23
.drone.yml
@ -1,16 +1,21 @@
|
|||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
name: default
|
name: deploy to swarm.autonomic.zone
|
||||||
steps:
|
steps:
|
||||||
- name: Deploy Gitea with Dokku
|
- name: deployment
|
||||||
image: appleboy/drone-git-push:0.2.1-linux-amd64
|
image: decentral1se/drone-stack:19.03.8
|
||||||
settings:
|
settings:
|
||||||
remote: ssh://dokku@dokku.autonomic.zone:222/gitea
|
compose: compose.yml
|
||||||
ssh_key:
|
host: tcp://swarm.autonomic.zone:2376
|
||||||
from_secret: drone_deploy_key
|
stack_name: gitea
|
||||||
|
tlsverify: true
|
||||||
|
environment:
|
||||||
|
PLUGIN_CACERT:
|
||||||
|
from_secret: docker_cacert
|
||||||
|
PLUGIN_CERT:
|
||||||
|
from_secret: docker_cert
|
||||||
|
PLUGIN_KEY:
|
||||||
|
from_secret: docker_key
|
||||||
trigger:
|
trigger:
|
||||||
branch:
|
branch:
|
||||||
- master
|
- master
|
||||||
event:
|
|
||||||
exclude:
|
|
||||||
- pull_request
|
|
||||||
|
Reference in New Issue
Block a user