Configure triggers in triggers.yaml under pipeline folder.
triggers.yaml
file under your pipeline folder. The file path should be pipelines/[pipeline_uuid]/triggers.yaml
.triggers.yaml
file.
name
: Unique identifier of the triggerschedule_type
: time
, api
, or event
schedule_interval
: @once
, @hourly
, @daily
, @weekly
, @monthly
, @always_on
, or Cron syntax(* * * * *
)start_time
: The start time of the trigger (e.g. 2023-01-01
)status
: active
or inactive
variables
: A dictionary of variables that’s associated with the triggersla
: SLA in secondssettings
: a dictionary of advanced settings
skip_if_previous_running
: true
/false
allow_blocks_to_fail
: true
/false
create_initial_pipeline_run
: true
/false
envs
: The environments that the trigger runs in. If envs is not set or empty, the trigger will run in all environments. The environment of the Mage app is set via ENV
environment variable. Supported envs
values: dev
, staging
, prod
, test
.triggers.yaml
file. The trigger configs will be synced to the triggers UI shortly.inactive
or
delete the trigger completely.
To delete the trigger completely, you can delete the trigger from the UI by clicking the delete button
(with trash can icon) in the Pipeline triggers table (/pipeline/[pipeline_uuid]/triggers
). This will
also remove the trigger from the pipeline’s triggers.yaml
config file.