Manifests
A manifest in Comtrya is a collection of actions and dependencies.
Let's assume we have the file one.yaml, which looks like this:
1
# one.yaml
2
actions:
3
- action: command.run
4
command: echo Hello, world!
Copied!
This manifest performs a single task, which uses the command.run action and provides the command to be run which is echo Hello, world!
Now, let's define two.yaml which contains a depdency on one.yaml
1
# two.yaml
2
depends:
3
- one
4
​
5
actions:
6
- action: command.run
7
command: echo Hello, back!
Copied!
​
Copy link