-
Notifications
You must be signed in to change notification settings - Fork 4
YAML File Structures
David Leins edited this page Sep 4, 2018
·
12 revisions
Currently a launchable system is split in 3 file types: component, group and system. The idea is to keep those organized with the following directory structure:
.
├── components
│ ├── groups
│ │ ├── Group_0.yaml
│ │ ├── Group_1.yaml
│ │ ├── ...
│ │ └── Group_N.yaml
│ ├── Component_0.yaml
│ ├── Component_1.yaml
│ ├── ...
│ └── Component_N.yaml
└── systems
├── Component_0.yaml
├── Component_1.yaml
├── ...
└── Component_N.yaml
name: Component name
cmd:
- start: start shell command
- check: check shell command
provides: providing dependency
requires: required dependency
host: host the component will run onThe requires and provides arguments are optional.
name: Group name
components:
- !include ../Component_0.yaml
...
- !include ../Component_N.yamlname: Launchable System Name
groups:
- !include ../components/groups/Group_0.yaml
...
- !include ../components/groups/Group_N.yaml
autostart: true