Skip to content

Instantly share code, notes, and snippets.

@civitaspo
Created October 11, 2017 01:06
Show Gist options
  • Save civitaspo/0deb82e55cc66b0d7cd6f04c42611784 to your computer and use it in GitHub Desktop.
Save civitaspo/0deb82e55cc66b0d7cd6f04c42611784 to your computer and use it in GitHub Desktop.
Exported variables are always evaluated as String.class .
_export:
a:
b: []
+test:
_export:
c:
d: ${a.b}
e: ${a}
+a:
sh>: echo $a
+b:
sh>: echo $c
2017-10-11 00:30:38 +0000 [INFO] (XNIO-1 task-8) io.digdag.core.workflow.WorkflowExecutor: Starting a new session project id=1 workflow name=xxxx session_time=2017-10-11T00:30:38+00:00
2017-10-11 00:30:41 +0000 [INFO] (0059@[0:default]+xxxx+test+a) io.digdag.core.agent.OperatorManager: sh>: echo $a
{"b":[]}
2017-10-11 00:30:43 +0000 [INFO] (0059@[0:default]+xxxx+test+b) io.digdag.core.agent.OperatorManager: sh>: echo $c
{"d":"[]","e":"{\"b\":\"[]\"}"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment