Skip to main content

PipelineML

Use the pipeline YAML to orchestrate data actions in your workspace as code.

Pipeline definitions are stored as YAML file format, you can read more about the YAML format and its syntax here.


Example: pipelines/report_pipeline.yml

version: pipelines/v0.1
data_components:
- notebook
- sendgrid
actions:
- notebook:run-convert
- sendgrid:send
properties:
notebook.path: notebook/data_quality_report.ipynb
timeout: 1500
max_retries: 3
schedule: 0 0 0 * * 0
triggered_by:
- other-pipeline
- deploy

Key Information

PathJSON TypeDescription
versionstringThe version identifies this artifact type.
data_componentsstring[]The meltano.yml data component name.
actionsstring[]The Meltano tasks that will be run as defined in your meltano.yml or Plugins.
inline_scriptstringCustom Bash script. Overrides actions if supplied.
timeoutnumberA timeout value in seconds that prevents pipelines from running for too long. A pipeline running longer that the timeout setting is automatically stopped.
max_retriesnumberThe maximum number of retries to attempt for a job ending with ERROR
propertiesobjectA map of properties, with Data Component name and setting as the key and the value e.g. data-component-name.setting=value, that configures the pipeline environment.
schedulestringThe automated schedule for this pipeline, in a standard cron format with seconds. 0 0 9-17 * * MON-FRI on the hour nine-to-five weekdays.
triggered_bystring[]Pipelines or workspace tasks that will trigger the pipeline on successful completion.
Supported values for workspace tasks (case-insensitive):

Further Reading: