1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28id: taskrunner
namespace: example
description: Save and Execute the flow
tasks:
- id: hello
type: io.kestra.plugin.scripts.shell.Script
taskRunner:
type: io.kestra.core.models.tasks.runners.types.ProcessTaskRunner
script: |
echo "Hello world!"
- id: readFileFromPython
type: io.kestra.plugin.scripts.shell.Commands
taskRunner:
type: io.kestra.plugin.scripts.runner.docker.DockerTaskRunner
commands:
- echo "2"
- id: "bash"
type: "io.kestra.core.tasks.scripts.Bash"
runner: DOCKER
dockerOptions:
image: php
commands:
- 'php -r print(phpversion());'