Files
boilerplates/kestra/python/python_command.yaml
T

20 lines
561 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 # <-- Replace with your namespace...
tasks:
- id: python_job
type: io.kestra.plugin.scripts.python.Commands
commands:
- python /app/scripts/your-python-script.py
taskRunner:
type: io.kestra.plugin.core.runner.Process