Drone plugins > Rancher Stack v1
rancher.svg

Rancher Stack v1

by wayneconnolly


A drone.io Rancher Stack plugin to deploy/update an entire Rancher stack (not just a single service) to Rancher v1.6. See Docker Hub for more information.

Example

kind: pipeline
name: default

steps:
- name: rancher-v1-staging-upgrade
  image: dubc/drone-rancher-stack-v1
  settings:
    url: rancher.domain.com
    stack: app-staging        
    accesskey: RANCHER_ACCESS_KEY
    secretkey: RANCHER_SECRET_KEY
    pull: true

Properties

  • url

    stringrequired

    The url where your rancher resides. E.g rancher.domain.com

    Default: none

  • stack

    stringrequired

    This stack must already exist in your rancher environment. E.g app-staging.

    Default: none

  • accesskey

    stringrequired

    The access key for your rancher environment.

    Secret recommended

    Default: none

  • secretkey

    stringrequired

    The secret key for your rancher environment.

    Secret recommended

    Default: none

  • pull

    booleanoptional

    Makes sure you get the latest plugin version.

    Default: true