concord icon indicating copy to clipboard operation
concord copied to clipboard

runtime-v2: logYaml step

Open brig opened this issue 2 years ago • 0 comments

new input param for log task: format: "yaml" to print log message as yaml: and alias for this: logYaml

- logYaml: {k: v}
- logYaml: ${anyExpression}
- task: log
  in:
     format: "yaml"
     msg: "myMessage"

instead of

- log: ${resource.prettyPrintYaml(myMessage)}

brig avatar Oct 04 '23 11:10 brig