From 7d6e6fcf6ca013e7327a62a73d984c1fd5a961b7 Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Sun, 3 May 2020 12:27:59 +0200 Subject: [PATCH] Get the CI running --- .drone.yml | 22 ++++++++++++++++++++++ README.md | 2 ++ 2 files changed, 24 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..4e321fa --- /dev/null +++ b/.drone.yml @@ -0,0 +1,22 @@ +--- +kind: pipeline +name: deploy to swarm.autonomic.zone +steps: + - 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: wordpress + tlsverify: true + environment: + PLUGIN_CACERT: + from_secret: docker_cacert + PLUGIN_CERT: + from_secret: docker_cert + PLUGIN_KEY: + from_secret: docker_key +trigger: + branch: + - master diff --git a/README.md b/README.md index 51c36ab..a4060f9 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # wordpress +[![Build Status](https://drone.autonomic.zone/api/badges/autonomic-cooperative/wordpress/status.svg)](https://drone.autonomic.zone/autonomic-cooperative/wordpress) + > https://wordpress.org > https://wp.swarm.autonomic.zone