autotasker/config.example.yaml

46 lines
837 B
YAML

instance:
name: Example organization
logo_uri: https://example.org/logo.png
executor:
environment:
SUPER_COOL_DEFAULT_ENV: 438548
tasks:
do_magic_stuff:
name: Do magic incantation
environment:
PYTHONUNBUFFERED: "1"
SIMULATION_SPEED: 0.4
SIMULATION_MAX_ITERATIONS: 50
command:
- /usr/bin/python3
- /path/to/autotasker/examples/do_something_1.py
reindex_db:
name: Reindex the whole database
env: {}
command:
- ls
- /etc/fstab
schedule:
hours: 1
clean_up:
name: Clean up things
env: {}
command:
- cat
- /etc/environment
schedule:
"0 * * * * *"
webhooks:
- id: 1
name: "Trigger magic stuff"
token: aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee
target_tasks:
- do_magic_stuff
debounce_secs: 10