mirror of
https://github.com/ChristianLempa/boilerplates.git
synced 2026-10-07 06:04:13 -04:00
20 lines
561 B
YAML
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
|