Use the Nomad plugin to deploy services from a template. You will need to supply Drone with the nomad template file.

Example

kind: pipeline
name: default

steps:
- name: deploy
  image: loq9/drone-nomad
  settings:
    addr: https://your.nomad.server/...
    template: nomad-template.hcl

Properties

  • addr

    stringrequired

    The Nomad server address

    Default: none

  • template

    stringrequired

    Template for Nomad

    Default: none

  • region

    stringoptional

    Nomad region

    Default: none

  • namespace

    stringoptional

    Nomad namespace

    Default: none

  • token

    stringoptional

    Nomad token

    Secret recommended

    Default: none