christianlempa-boilerplates/kestra/python/command.yaml
2024-04-19 14:41:05 +02:00

20 lines
555 B
YAML

# Kestra Python Command Template
# ---
#
# This template is a simple Python script.
#
# usage:
# make sure the Kestra instance can access the /app/scripts/your-python-script.py file
# if you're running Kestra in Docker, use a volume to mount the file/directory.
id: python-command
namespace: # your-namespace
tasks:
- id: python_command
type: io.kestra.plugin.scripts.python.Commands
commands:
- python /app/scripts/your-python-script.py
runner: PROCESS # or DOCKER (might be deprecated in the future) use TaskRunner instead