-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathstack.yml
93 lines (84 loc) · 2.01 KB
/
stack.yml
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
provider:
name: openfaas
gateway: http://127.0.0.1:31112
functions:
sync-chain:
lang: faas-flow
handler: ./sync-chain
image: s8sg/sync-chain-example:2.0.0
labels:
faas-flow: 1
annotations:
faas-flow-desc: "flow for a example synchronous chain execution"
environment_file:
- flow.yml
secrets:
- s3-secret-key
- s3-access-key
async-chain:
lang: faas-flow
handler: ./async-chain
image: s8sg/async-chain-example:2.0.0
labels:
faas-flow: 1
annotations:
faas-flow-desc: "flow for a example asynchronous chain execution"
environment_file:
- flow.yml
secrets:
- s3-secret-key
- s3-access-key
parallel-branching:
lang: faas-flow
handler: ./parallel-branching
image: s8sg/parallel-branching-example:2.0.0
labels:
faas-flow: 1
annotations:
faas-flow-desc: "flow for a example parallel branch execution"
environment_file:
- flow.yml
secrets:
- s3-secret-key
- s3-access-key
dynamic-branching:
lang: faas-flow
handler: ./dynamic-branching
image: s8sg/dynamic-branching-example:2.0.0
labels:
faas-flow: 1
annotations:
faas-flow-desc: "flow for a example dynamic branch execution"
environment_file:
- flow.yml
secrets:
- s3-secret-key
- s3-access-key
conditional-branching:
lang: faas-flow
handler: ./conditional-branching
image: s8sg/conditional-branching:2.0.0
labels:
faas-flow: 1
annotations:
faas-flow-desc: "flow for a example synchronous chain execution"
environment_file:
- flow.yml
secrets:
- s3-secret-key
- s3-access-key
func1:
lang: python
handler: ./func1
image: s8sg/func1-example:1.0.0
func2:
lang: python
handler: ./func2
image: s8sg/func2-example:1.0.0
fake-storage:
lang: python
handler: ./fake-storage
image: s8sg/fake-storage:1.0.0
environment:
write_debug: true
combine_output: false