diff --git a/aws-lambda.yaml b/aws-lambda.yaml index abbfbba..8a40c3f 100644 --- a/aws-lambda.yaml +++ b/aws-lambda.yaml @@ -19,7 +19,8 @@ tasks: your_event_input: hey there - id: lambda_result type: io.kestra.plugin.scripts.shell.Commands - runner: PROCESS + taskRunner: + type: io.kestra.plugin.core.runner.Process commands: - cat {{ outputs.lambda.uri }} | jq -r '.body' extend: diff --git a/generate-pdf-with-gotenberg.yaml b/generate-pdf-with-gotenberg.yaml index bd6c73f..8d7c798 100644 --- a/generate-pdf-with-gotenberg.yaml +++ b/generate-pdf-with-gotenberg.yaml @@ -6,7 +6,8 @@ variables: tasks: - id: pdf type: io.kestra.plugin.scripts.shell.Commands - runner: PROCESS + taskRunner: + type: io.kestra.plugin.core.runner.Process warningOnStdErr: false commands: - curl --request POST '{{ vars.server }}/forms/chromium/convert/url' diff --git a/input-file.yaml b/input-file.yaml index 8d21ee1..7345879 100644 --- a/input-file.yaml +++ b/input-file.yaml @@ -6,7 +6,8 @@ inputs: tasks: - id: read_file type: io.kestra.plugin.scripts.shell.Commands - runner: PROCESS + taskRunner: + type: io.kestra.plugin.core.runner.Process commands: - cat "{{ inputs.text_file }}" extend: diff --git a/on-failure-alert.yaml b/on-failure-alert.yaml index a782700..44054a7 100644 --- a/on-failure-alert.yaml +++ b/on-failure-alert.yaml @@ -3,7 +3,8 @@ namespace: company.team tasks: - id: fail type: io.kestra.plugin.scripts.shell.Commands - runner: PROCESS + taskRunner: + type: io.kestra.plugin.core.runner.Process commands: - exit 1 errors: diff --git a/parallel-files.yaml b/parallel-files.yaml index bf5e422..e011c01 100644 --- a/parallel-files.yaml +++ b/parallel-files.yaml @@ -3,7 +3,8 @@ namespace: company.team tasks: - id: bash type: io.kestra.plugin.scripts.shell.Commands - runner: PROCESS + taskRunner: + type: io.kestra.plugin.core.runner.Process outputFiles: - out/** commands: @@ -21,7 +22,8 @@ tasks: format: "{{ taskrun.value }}" - id: contents type: io.kestra.plugin.scripts.shell.Commands - runner: PROCESS + taskRunner: + type: io.kestra.plugin.core.runner.Process commands: - cat "{{ taskrun.value }}" extend: diff --git a/react-to-sqs-trigger.yaml b/react-to-sqs-trigger.yaml index 14985d8..c2676d6 100644 --- a/react-to-sqs-trigger.yaml +++ b/react-to-sqs-trigger.yaml @@ -3,7 +3,8 @@ namespace: company.team tasks: - id: print_message type: io.kestra.plugin.scripts.shell.Commands - runner: PROCESS + taskRunner: + type: io.kestra.plugin.core.runner.Process commands: - cat "{{ trigger.uri }}" triggers: diff --git a/retries.yaml b/retries.yaml index c189524..a35552e 100644 --- a/retries.yaml +++ b/retries.yaml @@ -3,7 +3,8 @@ namespace: company.team tasks: - id: fail_4_times type: io.kestra.plugin.scripts.shell.Commands - runner: PROCESS + taskRunner: + type: io.kestra.plugin.core.runner.Process commands: - if [ "{{ taskrun.attemptsCount }}" -eq 4 ]; then exit 0; else exit 1; fi retry: diff --git a/snowflake-query-trigger.yaml b/snowflake-query-trigger.yaml index 2e8b977..7d986e0 100644 --- a/snowflake-query-trigger.yaml +++ b/snowflake-query-trigger.yaml @@ -7,7 +7,8 @@ tasks: tasks: - id: automated_process type: io.kestra.plugin.scripts.shell.Commands - runner: PROCESS + taskRunner: + type: io.kestra.plugin.core.runner.Process commands: - echo "{{ json(taskrun.value) }}" - echo "Welcome to Kestra {{ json(taskrun.value).FIRST_NAME }} {{