Packer
by appleboy
This plugin can build automated machine images with Packer.
Example
kind: pipeline
name: default
steps:
- name: packer
image: appleboy/drone-packer
settings:
template: aws.json
actions: build
Properties
actions
arrayoptionala list of actions to have packer perform.
Default: none
vars
objectoptionala map of variables to pass to the Packer build commands. Each value is passed as a <key>=<value> option.
Default: none
var_files
arrayoptionala list of var files to use. Each value is passed as -var-file=.
Default: none
except
arrayoptionalvalidate or build all builds other than these.
Default: none
only
arrayoptionalvalidate or build only the specified builds.
Default: none
template
stringoptionalA json file will execute multiple builds in parallel as defined in the template.
Default: none
syntax_only
booleanoptionalOnly check syntax. Do not verify config of the template.
Default: false
color
booleanoptionalDisable color output.
Default: false
debug
booleanoptionalDebug mode enabled for builds.
Default: false
parallel
booleanoptionalDisable parallelization.
Default: false
force
booleanoptionalForce a build to continue if artifacts exist, deletes existing artifacts.
Default: false
readable
booleanoptionalMachine-readable output.
Default: false