Skip to main content

dvs workflow validate

Validate workflow syntax.

Syntax​

dvs workflow validate <name>

Example​

dvs workflow validate my-deploy

Output (valid)​

Workflow 'my-deploy' is valid.
Steps: 4
Actions: rsync, ssh-command

Output (invalid)​

Workflow 'my-deploy' has errors:
Line 12: Unknown action 'invalid-action'
Line 15: Missing required param 'command'

Available Actions​

ActionDescription
rsyncSync files via rsync
ssh-commandExecute remote command
local-commandExecute local command
mysql-dumpExport database
mysql-importImport database