Scripted Included Workflows

31 views
Skip to first unread message

Graham Gilbert

unread,
Jan 13, 2016, 6:16:08 AM1/13/16
to imag...@googlegroups.com
Hi everyone,

I've just pushed the abaility to specify an included workflow with a script. For info on how to use it see the wiki: https://github.com/grahamgilbert/imagr/wiki/Workflow-Config#scripted-included-workflows

I would appreciate you throwing your weirdest scripts at it to try and break it - the code itself is pretty simple, but I would like to at least document it's limitations.

I also have an implementation question.  Currently if the script doesn't return anything, the workflow halts and Imagr shows an error. In the example on the wiki, I'm testing to see if it's a VM or not - I thought in this case it would be useful to just continue if it doesn't return anything (but the script still exits successfully). I'm leaning towards only throwing an error if the script barfs of if it returns a workflow that can't be found.

Would appreciate everyone's input on this.

Cheers
Graham
Reply all
Reply to author
Forward
0 new messages