Revert "Reset to dokku deploy for now"

This reverts commit 9f42ecaa77.

Actually, while moving to the swarm setup, we can't go back so easily.
Sooooo, reverting this and waiting for the migration to go ahead.
This commit is contained in:
Luke Murphy 2020-05-16 17:39:03 +02:00
parent 78ea06871a
commit 2a72bac756
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

View File

@ -1,13 +1,35 @@
---
kind: pipeline
name: default
name: deploy to swarm.autonomic.zone
steps:
- name: Deploy Autonomic.zone with Dokku
image: appleboy/drone-git-push:0.2.1-linux-amd64
- name: bundle static
image: plugins/docker
settings:
remote: ssh://dokku@dokku.autonomic.zone:222/autonomic.zone
ssh_key:
from_secret: drone_deploy_key
username:
from_secret: docker_reg_username
password:
from_secret: docker_reg_passwd
repo: decentral1se/autonomic.zone
tags: v2.0.0
- name: deployment
image: decentral1se/drone-stack:19.03.8-override-compose
settings:
compose: docker-compose.yml
host: tcp://swarm.autonomic.zone:2376
override_compose: docker-compose.production.yml
stack_name: jekyll
tlsverify: true
environment:
PLUGIN_CACERT:
from_secret: docker_cacert
PLUGIN_CERT:
from_secret: docker_cert
PLUGIN_KEY:
from_secret: docker_key
trigger:
branch:
- master
event:
exclude:
- pull_request