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:
parent
78ea06871a
commit
2a72bac756
34
.drone.yml
34
.drone.yml
@ -1,13 +1,35 @@
|
|||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
name: default
|
name: deploy to swarm.autonomic.zone
|
||||||
steps:
|
steps:
|
||||||
- name: Deploy Autonomic.zone with Dokku
|
- name: bundle static
|
||||||
image: appleboy/drone-git-push:0.2.1-linux-amd64
|
image: plugins/docker
|
||||||
settings:
|
settings:
|
||||||
remote: ssh://dokku@dokku.autonomic.zone:222/autonomic.zone
|
username:
|
||||||
ssh_key:
|
from_secret: docker_reg_username
|
||||||
from_secret: drone_deploy_key
|
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:
|
trigger:
|
||||||
branch:
|
branch:
|
||||||
- master
|
- master
|
||||||
|
event:
|
||||||
|
exclude:
|
||||||
|
- pull_request
|
||||||
|
Reference in New Issue
Block a user