Skip to main content

Scripts

There are two categories of scripts one can write when developing a SOIL application: scripts that run when something happens for example when new data arrives and scripts that run on a schedule.

The entry points for these scripts are defined in the soil.yml file on the top of the project.

An example syntax of the file is the following:


setup: # Scripts to run when setting up the app for the first time.
- on_setup:
path: PATH

data: # Defines pipeline to execute on new data arrival
- first_script:
path: PATH # Path to script to execute
params:
param1: value1
param2: value2
...
- second_script:
...
...
- last_script: # Last script to be executed

schedules: