-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathparallel.flow.yaml
More file actions
51 lines (51 loc) · 1.59 KB
/
parallel.flow.yaml
File metadata and controls
51 lines (51 loc) · 1.59 KB
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# yaml-language-server: $schema=https://flowexec.io/schemas/flowfile_schema.json
# DO NOT EDIT - this file was generated by the example builder tool
description: Multiple executables can be run concurrently using a parallel executable.
executables:
- description: The `execs` field can be used to define the child executables with more options. This includes defining an
executable inline, retries, arguments, and more.
name: parallel-config
parallel:
execs:
- ref: run flow/examples:simple-print
- args:
- hello
- x=123
ref: run flow/examples:with-args
- cmd: echo 'hello from serial command'
tags:
- parallel
verb: start
visibility: private
- aliases:
- parallel-exit
description: The `failFast` option can be set to `true` to stop the flow if a sub-executable fails.
name: parallel-with-failure
parallel:
execs:
- ref: run flow/examples:with-pauses
- ref: run flow/examples:with-exit
- ref: run flow/examples:with-pauses
failFast: true
tags:
- parallel
verb: start
visibility: private
- description: The `maxThreads` option can be set to limit the number of concurrent executions.
name: parallel-config
parallel:
execs:
- ref: run flow/examples:simple-print
- args:
- hello
- x=123
ref: run flow/examples:with-args
- cmd: echo 'hello from serial command'
maxThreads: 1
tags:
- parallel
verb: start
visibility: private
namespace: parallel
tags:
- parallel