Skip to content

Instantly share code, notes, and snippets.

@kfigiela
Last active August 29, 2015 14:27
Show Gist options
  • Select an option

  • Save kfigiela/b303b59967a0474b724f to your computer and use it in GitHub Desktop.

Select an option

Save kfigiela/b303b59967a0474b724f to your computer and use it in GitHub Desktop.
cat $1 $2 > $3
date > $1
echo $FOO >> $1
echo $BAZ >> $1
{
"processes": [
{
"config": {
"executor": {
"args": ["$one_first"],
"executable": "first.sh",
"env": {"FOO": "BAR", "BAZ": "$one_ENVVAR"}
}
},
"function": "amqpCommand",
"ins": [
"one"
],
"name": "first",
"outs": [
"two"
],
"type": "dataflow"
},
{
"config": {
"executor": {
"args": ["$one_second"],
"executable": "first.sh"
}
},
"function": "amqpCommand",
"ins": [
"one"
],
"name": "first",
"outs": [
"three"
],
"type": "dataflow"
},
{
"config": {
"executor": {
"args": ["$two_files", "$three_files", "$four_files"],
"executable": "concat.sh"
}
},
"function": "amqpCommand",
"ins": [
"two", "three"
],
"name": "mProjectPP",
"outs": [
"four"
],
"type": "dataflow"
}
],
"signals": [
{
"name": "one",
"first": "foo_1",
"second": "foo_2",
"ENVVAR": "blahblah"
},
{
"name": "two",
"files": "foo_1"
},
{
"name": "three",
"files": "foo_2"
},
{
"name": "four",
"files": "outfile"
}
],
"ins": [0],
"outs": [3]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment