summaryrefslogtreecommitdiff
path: root/test/end-to-end/serve-service/data/targets/TARGETS.dispatch
blob: 915684344d3dbc404eb403cc334bcb34de063466 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{ "payload":
  { "type": "generic"
  , "cmds": ["echo this-is-the-payload > payload.txt"]
  , "outs": ["payload.txt"]
  }
, "drop":
  { "type": "generic"
  , "cmds": ["echo please-drop-this > drop.txt"]
  , "outs": ["drop.txt"]
  }
, "post":
  { "type": "generic"
  , "cmds": ["echo this-is-added-at-the-end > post.txt"]
  , "outs": ["post.txt"]
  }
, "special-dispatch":
  { "type": "generic"
  , "cmds": ["cat payload.txt drop.txt > out.txt"]
  , "outs": ["out.txt"]
  , "execution properties":
    {"type": "singleton_map", "key": "server", "value": "special"}
  , "deps": ["drop", "payload"]
  }
, "internal":
  { "type": "generic"
  , "cmds": ["cat out.txt post.txt > final.txt"]
  , "deps": ["post", "special-dispatch"]
  , "outs": ["final.txt"]
  }
, "":
  { "type": "export"
  , "target": "internal"
  , "flexible_config": ["AR", "ARCH", "ENV", "OS"]
  }
}