3wc 16f1e2daa5
All checks were successful
continuous-integration/drone/push Build is passing
REVERT ME debugging private key (!!) output
2020-09-25 14:33:22 +02:00
2020-09-25 12:43:41 +02:00
2020-09-25 12:55:10 +02:00
2020-09-23 08:32:50 +02:00
2020-09-25 13:30:33 +02:00

stack-ssh-deploy

Build Status

Deploy swarm stacks against a SSH based remote docker daemon context.

This is meant to be used as a Drone plugin.

Settings

With defaults

  • compose (default: compose.yml): compose file to use for deploying
  • host (default: swarm.autonomic.zone): Host to deploy to (don't include ssh://)
  • port (default: 222): SSH port to connect to
  • user (default: drone): System user to connect via SSH with

Without defaults

  • deploy_key: SSH private key part for ssh public key authentication
  • stack: Name of the stack to be deployed

Example

---
kind: pipeline
name: deploy to swarm
steps:
  - name: stack deploy
    image: decentral1se/stack-ssh-deploy:latest
    settings:
      stack: mystack
      deploy_key:
        from_secret: drone_deploy_key

Publishing

The version can be bumped in the .drone.yml file. We're sticking with latest as we iterate on the code right now.

If you push a commit to master, the Drone config will publish to Docker Hub.

Description
Deploy swarm stacks against a SSH based remote docker daemon context
Readme 199 KiB
Languages
Shell 94.2%
Dockerfile 3.1%
Makefile 2.7%