mirror of
https://github.com/ChristianLempa/boilerplates.git
synced 2024-11-25 09:44:24 +01:00
21 lines
558 B
YAML
21 lines
558 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
|