Basic configuration
When an environment is created the system loads Automations from the default file:.ona/automations.yaml
relative to your repository root. You can change this location using Projects. An automations.yaml
consists of services and tasks defined at the root level, for example:
Services in the automations.yaml
Example workflow:Tasks in the automations.yaml
Example workflow:Iterating on Automations
You can iterate on Automations using the CLI which is available by default in every Ona environment. The CLI can- reload the Automations file using:
- start a task or service: