-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathexample.yml
More file actions
68 lines (61 loc) · 1.42 KB
/
example.yml
File metadata and controls
68 lines (61 loc) · 1.42 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# yaml-language-server: $schema=https://raw.githubusercontent.com/BenjaminGuzman/microstart/main/src/main/resources/schema.json
services:
- name: Search engine
start: ping -c 2 google.com
aliases:
- search
- google
color: 0x00ff00
startedPatterns:
- "[^0-9]0% packet loss"
errorPatterns:
- "([1-9][0-9]?|100)% packet loss"
- name: Users
start: echo "Loading service..." && sleep 1 && echo "Config loaded" && sleep 1 && echo "RPC server is listening on port 1111"
aliases:
- rpc-users
- users
color: 0xff00ff
startedPatterns:
- (Service|Server) is listening
errorPatterns:
- error
- name: Crypto
aliases:
- crypto
start: echo "Compiling..." && sleep 1 && echo "Done."
color: 0x0000ff
startedPatterns:
- done
errorPatterns:
- error
- name: Landing page
aliases:
- landing
start: echo "Starting compilation" && sleep 5 && echo "Compilation finished."
color: 0xf0f0f0
startedPatterns:
- Compilation finished
errorPatterns:
- error
groups:
- name: Frontend services
aliases:
- frontend
services:
- landing
dependencies:
- backend
- name: Backend services
aliases:
- backend
services:
- crypto
- users
dependencies:
- search
- name: Search Engine
aliases:
- search
services:
- google