Downloads the Distelli CLI and runs a command.
This step allows a choice on the spectrum of flexibility and guard rails,
provided by the branches configuration key. If this key is set, then the
distelli step will be skipped. This allows a project to define a set of
branches from which deploys should be allowed.
Setting this value via an environment variable in Wercker allows for maximum flexibility. With the set-up, different deploy targets can be allow to deploy from different branches, or the set of branches can be temporarily changed with out requiring an update to the wercker.yml in source control. See the example below for an illustration.
command- command to run. Currently only "supports"pushanddeploy.accessKey- the Distelli access key (token) for using the CLIsecretKey- the Distelli secret key for using the CLI
branches- a whilelist of branches to allow commands on. If unset, all branches are allowed.manifest- the distelli manifest file. Required forpushanddeploycommands.releaseFilename- a file name to track Distelli release id betweenpushanddeploycommands.wait- (do not) wait for a distelli deploy to finish before proceeding. Only supported for thedeploycommand.
Push a build to Distelli. The build will have a commit message of the form wercker:${WERCKER_BUILD_ID}.
This form is necessary to locate the pushed bundle for later deployment.
build:
steps:
- distelli:
branches: ${ALLOWED_BRANCHES}
accessKey: ${DISTELLI_TOKEN}
secretKey: ${DISTELLI_SECRET}
command: push- fix release file reading; enhanced error messaging
- fix release file creation
- fixing csv parsing
- error handling
- error handling
- trap exit status
- golang rewrite
- initial release