diff --git a/core/src/main/java/io/kestra/plugin/core/condition/ExecutionFlowCondition.java b/core/src/main/java/io/kestra/plugin/core/condition/ExecutionFlowCondition.java index e491a7febe2..3fe417f8b51 100644 --- a/core/src/main/java/io/kestra/plugin/core/condition/ExecutionFlowCondition.java +++ b/core/src/main/java/io/kestra/plugin/core/condition/ExecutionFlowCondition.java @@ -31,7 +31,7 @@ code = { "- conditions:", " - type: io.kestra.plugin.core.condition.ExecutionFlowCondition", - " namespace: io.kestra.tests", + " namespace: company.team", " flowId: my-current-flow" } ) diff --git a/core/src/main/java/io/kestra/plugin/core/condition/ExecutionNamespaceCondition.java b/core/src/main/java/io/kestra/plugin/core/condition/ExecutionNamespaceCondition.java index b8742a350ee..611973224e5 100644 --- a/core/src/main/java/io/kestra/plugin/core/condition/ExecutionNamespaceCondition.java +++ b/core/src/main/java/io/kestra/plugin/core/condition/ExecutionNamespaceCondition.java @@ -30,7 +30,7 @@ code = { "- conditions:", " - type: io.kestra.plugin.core.condition.ExecutionNamespaceCondition", - " namespace: io.kestra.tests", + " namespace: company.team", " comparison: PREFIX" } ) diff --git a/core/src/main/java/io/kestra/plugin/core/condition/FlowCondition.java b/core/src/main/java/io/kestra/plugin/core/condition/FlowCondition.java index 643aef1be14..d70a4e59c31 100644 --- a/core/src/main/java/io/kestra/plugin/core/condition/FlowCondition.java +++ b/core/src/main/java/io/kestra/plugin/core/condition/FlowCondition.java @@ -30,7 +30,7 @@ code = { "- conditions:", " - type: io.kestra.plugin.core.condition.FlowCondition", - " namespace: io.kestra.tests", + " namespace: company.team", " flowId: my-current-flow" } ) diff --git a/core/src/main/java/io/kestra/plugin/core/execution/Count.java b/core/src/main/java/io/kestra/plugin/core/execution/Count.java index 3e6718ed151..a68d43e15e2 100644 --- a/core/src/main/java/io/kestra/plugin/core/execution/Count.java +++ b/core/src/main/java/io/kestra/plugin/core/execution/Count.java @@ -42,14 +42,14 @@ full = true, code = { "id: executions-count", - "namespace: io.kestra.tests", + "namespace: company.team", "", "tasks:", " - id: counts", " type: io.kestra.plugin.core.execution.Counts", " expression: \"{{ count == 0 }}\"", " flows:", - " - namespace: io.kestra.tests", + " - namespace: company.team", " flowId: logs", " startDate: \"{{ now() | dateAdd(-1, 'DAYS') }}\"", " - id: each_parallel", diff --git a/core/src/main/java/io/kestra/plugin/core/execution/Fail.java b/core/src/main/java/io/kestra/plugin/core/execution/Fail.java index 5e63ac7961f..a4942ff540a 100644 --- a/core/src/main/java/io/kestra/plugin/core/execution/Fail.java +++ b/core/src/main/java/io/kestra/plugin/core/execution/Fail.java @@ -32,7 +32,7 @@ full = true, code = { "id: fail-on-switch\n" + - "namespace: io.kestra.tests\n" + + "namespace: company.team\n" + "\n" + "inputs:\n" + " - id: param\n" + @@ -66,7 +66,7 @@ full = true, code = { "id: fail-on-condition\n" + - "namespace: io.kestra.tests\n" + + "namespace: company.team\n" + "\n" + "inputs:\n" + " - name: param\n" + diff --git a/core/src/main/java/io/kestra/plugin/core/execution/Labels.java b/core/src/main/java/io/kestra/plugin/core/execution/Labels.java index b356bbfb701..830e0ea1265 100644 --- a/core/src/main/java/io/kestra/plugin/core/execution/Labels.java +++ b/core/src/main/java/io/kestra/plugin/core/execution/Labels.java @@ -44,7 +44,7 @@ full = true, code = { "id: webhook-based-labels", - "namespace: com.company", + "namespace: company.team", "tasks:", " - id: update-labels-with-map", " type: io.kestra.plugin.core.execution.Labels", diff --git a/core/src/main/java/io/kestra/plugin/core/flow/AllowFailure.java b/core/src/main/java/io/kestra/plugin/core/flow/AllowFailure.java index e20c61f4f8f..6c19a6cc897 100644 --- a/core/src/main/java/io/kestra/plugin/core/flow/AllowFailure.java +++ b/core/src/main/java/io/kestra/plugin/core/flow/AllowFailure.java @@ -36,7 +36,7 @@ full = true, code = { "id: allow-failure", - "namespace: io.kestra.tests", + "namespace: company.team", "", "tasks:", " - id: sequential", diff --git a/core/src/main/java/io/kestra/plugin/core/flow/Dag.java b/core/src/main/java/io/kestra/plugin/core/flow/Dag.java index 004bc0aa588..771fb4b2990 100644 --- a/core/src/main/java/io/kestra/plugin/core/flow/Dag.java +++ b/core/src/main/java/io/kestra/plugin/core/flow/Dag.java @@ -47,7 +47,7 @@ full = true, code = """ id: dag-flow - namespace: io.kestra.tests + namespace: company.team tasks: - id: dag type: io.kestra.plugin.core.flow.Dag diff --git a/core/src/main/java/io/kestra/plugin/core/flow/EachParallel.java b/core/src/main/java/io/kestra/plugin/core/flow/EachParallel.java index 62d36bc3c0e..09ced1c1a83 100644 --- a/core/src/main/java/io/kestra/plugin/core/flow/EachParallel.java +++ b/core/src/main/java/io/kestra/plugin/core/flow/EachParallel.java @@ -48,7 +48,7 @@ full = true, code = { "id: each-parallel", - "namespace: io.kestra.tests", + "namespace: company.team", "", "tasks:", " - id: each-parallel", @@ -64,7 +64,7 @@ full = true, code = { "id: each-parallel", - "namespace: io.kestra.tests", + "namespace: company.team", "", "tasks:", " - id: each-parallel", @@ -84,7 +84,7 @@ full = true, code = { "id: each-parallel", - "namespace: io.kestra.tests", + "namespace: company.team", "", "tasks:", " - id: each-parallel", diff --git a/core/src/main/java/io/kestra/plugin/core/flow/EachSequential.java b/core/src/main/java/io/kestra/plugin/core/flow/EachSequential.java index 96dba40f637..c5973ff9174 100644 --- a/core/src/main/java/io/kestra/plugin/core/flow/EachSequential.java +++ b/core/src/main/java/io/kestra/plugin/core/flow/EachSequential.java @@ -50,7 +50,7 @@ title = "The taskrun.value from the `each_sequential` task is available only to immediate child tasks such as the `before_if` and the `if` tasks. To access the taskrun value in child tasks of the `if` task (such as in the `after_if` task), you need to use the syntax `{{ parent.taskrun.value }}` as this allows you to access the taskrun value of the parent task `each_sequential`.", code = """ id: loop_example - namespace: dev + namespace: company.team tasks: - id: each_sequential @@ -73,7 +73,7 @@ title = "This task shows that the value can be a bullet-style list. The task iterates over the list of values and executes the `each-value` child task for each value.", code = { "id: each_sequential", - "namespace: dev", + "namespace: company.team", "", "tasks:", " - id: each-sequential", diff --git a/core/src/main/java/io/kestra/plugin/core/flow/ForEachItem.java b/core/src/main/java/io/kestra/plugin/core/flow/ForEachItem.java index e06b4a8aea6..728579bcc31 100644 --- a/core/src/main/java/io/kestra/plugin/core/flow/ForEachItem.java +++ b/core/src/main/java/io/kestra/plugin/core/flow/ForEachItem.java @@ -66,7 +66,7 @@ Execute a subflow for each batch of items. The subflow `orders` is called from the parent flow `orders_parallel` using the `ForEachItem` task in order to start one subflow execution for each batch of items. ```yaml id: orders - namespace: prod + namespace: company.team inputs: - id: order @@ -87,7 +87,7 @@ full = true, code = """ id: orders_parallel - namespace: prod + namespace: company.team tasks: - id: extract @@ -104,7 +104,7 @@ items: "{{ outputs.extract.uri }}" batch: rows: 1 - namespace: prod + namespace: company.team flowId: orders wait: true # wait for the subflow execution transmitFailed: true # fail the task run if the subflow execution fails @@ -122,7 +122,7 @@ ```yaml id: mysubflow - namespace: dev + namespace: company.team inputs: - id: json @@ -137,7 +137,7 @@ full = true, code = """ id: iterate_over_json - namespace: dev + namespace: company.team tasks: - id: download @@ -163,7 +163,7 @@ items: "{{ outputs.ion_to_jsonl.uri }}" batch: rows: 1 - namespace: dev + namespace: company.team flowId: mysubflow wait: true transmitFailed: true @@ -176,7 +176,7 @@ ```yaml id: process_batch - namespace: dev + namespace: company.team inputs: - id: data @@ -191,7 +191,7 @@ full = true, code = """ id: process_files - namespace: dev + namespace: company.team tasks: - id: loop_over_files @@ -204,7 +204,7 @@ batch: rows: 1 flowId: process_batch - namespace: dev + namespace: company.team wait: true transmitFailed: true inputs: diff --git a/core/src/main/java/io/kestra/plugin/core/flow/If.java b/core/src/main/java/io/kestra/plugin/core/flow/If.java index 330e6b72411..61a5a405ed4 100644 --- a/core/src/main/java/io/kestra/plugin/core/flow/If.java +++ b/core/src/main/java/io/kestra/plugin/core/flow/If.java @@ -48,7 +48,7 @@ full = true, code = { "id: if", - "namespace: io.kestra.tests", + "namespace: company.team", "", "inputs:", " - id: string", diff --git a/core/src/main/java/io/kestra/plugin/core/flow/Parallel.java b/core/src/main/java/io/kestra/plugin/core/flow/Parallel.java index 05e7897e3ce..3749684798f 100644 --- a/core/src/main/java/io/kestra/plugin/core/flow/Parallel.java +++ b/core/src/main/java/io/kestra/plugin/core/flow/Parallel.java @@ -42,7 +42,7 @@ full = true, code = { "id: parallel", - "namespace: io.kestra.tests\n" + + "namespace: company.team\n" + "", "tasks:\n" + " - id: parallel\n" + diff --git a/core/src/main/java/io/kestra/plugin/core/flow/Pause.java b/core/src/main/java/io/kestra/plugin/core/flow/Pause.java index 1dbd7783ef0..e13df2a3250 100644 --- a/core/src/main/java/io/kestra/plugin/core/flow/Pause.java +++ b/core/src/main/java/io/kestra/plugin/core/flow/Pause.java @@ -48,7 +48,7 @@ full = true, code = """ id: human_in_the_loop - namespace: dev + namespace: company.team tasks: - id: before_approval @@ -74,7 +74,7 @@ full = true, code = """ id: vacation_approval_process - namespace: dev + namespace: company.team inputs: - id: request.name diff --git a/core/src/main/java/io/kestra/plugin/core/flow/Sequential.java b/core/src/main/java/io/kestra/plugin/core/flow/Sequential.java index 921bd54b970..8d800a8be38 100644 --- a/core/src/main/java/io/kestra/plugin/core/flow/Sequential.java +++ b/core/src/main/java/io/kestra/plugin/core/flow/Sequential.java @@ -45,7 +45,7 @@ full = true, code = { "id: sequential", - "namespace: io.kestra.tests", + "namespace: company.team", "", "tasks:", " - id: sequential", diff --git a/core/src/main/java/io/kestra/plugin/core/flow/Subflow.java b/core/src/main/java/io/kestra/plugin/core/flow/Subflow.java index fa306c688a9..e9ebbabb3c3 100644 --- a/core/src/main/java/io/kestra/plugin/core/flow/Subflow.java +++ b/core/src/main/java/io/kestra/plugin/core/flow/Subflow.java @@ -51,7 +51,7 @@ @Example( title = "Run a subflow with custom inputs.", code = { - "namespace: dev", + "namespace: company.team", "flowId: subflow", "inputs:", " user: \"Rick Astley\"", diff --git a/core/src/main/java/io/kestra/plugin/core/flow/Switch.java b/core/src/main/java/io/kestra/plugin/core/flow/Switch.java index fc76c7f750b..1c0fd61a913 100644 --- a/core/src/main/java/io/kestra/plugin/core/flow/Switch.java +++ b/core/src/main/java/io/kestra/plugin/core/flow/Switch.java @@ -53,7 +53,7 @@ full = true, code = { "id: switch", - "namespace: io.kestra.tests", + "namespace: company.team", "", "inputs:", " - id: string", diff --git a/core/src/main/java/io/kestra/plugin/core/flow/Template.java b/core/src/main/java/io/kestra/plugin/core/flow/Template.java index 7641547ab08..c225186c4cf 100644 --- a/core/src/main/java/io/kestra/plugin/core/flow/Template.java +++ b/core/src/main/java/io/kestra/plugin/core/flow/Template.java @@ -60,7 +60,7 @@ full = true, code = { "id: template", - "namespace: io.kestra.tests", + "namespace: company.team", "", "inputs:", " - id: with-string", @@ -72,7 +72,7 @@ " format: \"{{ task.id }} > {{ taskrun.startDate }}\"", " - id: 2-template", " type: io.kestra.plugin.core.flow.Template", - " namespace: io.kestra.tests", + " namespace: company.team", " templateId: template", " args:", " my-forward: \"{{ inputs.with-string }}\"", diff --git a/core/src/main/java/io/kestra/plugin/core/flow/WaitFor.java b/core/src/main/java/io/kestra/plugin/core/flow/WaitFor.java index 794c60536ea..cce4ee60874 100644 --- a/core/src/main/java/io/kestra/plugin/core/flow/WaitFor.java +++ b/core/src/main/java/io/kestra/plugin/core/flow/WaitFor.java @@ -54,7 +54,7 @@ title = "Run a task until it returns a specific value. Note how you don't need to take care of incrementing the iteration count. The task will loop and keep track of the iteration outputs behind the scenes — you only need to specify the exit condition for the loop.", code = """ id: example - namespace: myteam + namespace: company.team tasks: - id: loop diff --git a/core/src/main/java/io/kestra/plugin/core/flow/WorkingDirectory.java b/core/src/main/java/io/kestra/plugin/core/flow/WorkingDirectory.java index 4fb26270112..d817030b4ee 100644 --- a/core/src/main/java/io/kestra/plugin/core/flow/WorkingDirectory.java +++ b/core/src/main/java/io/kestra/plugin/core/flow/WorkingDirectory.java @@ -65,7 +65,7 @@ title = "Clone a Git repository into the Working Directory and run a Python script in a Docker container.", code = """ id: gitPython - namespace: dev + namespace: company.team tasks: - id: wdir @@ -89,7 +89,7 @@ title = "Add input and output files within a Working Directory to use them in a Python script.", code = """ id: apiJSONtoMongoDB -namespace: dev +namespace: company.team tasks: - id: wdir @@ -138,7 +138,7 @@ with open('output.json', 'w') as output_file: full = true, code = { "id: working-directory", - "namespace: io.kestra.tests", + "namespace: company.team", "", "tasks:", " - id: working-directory", @@ -160,7 +160,7 @@ with open('output.json', 'w') as output_file: title = "A working directory with a cache of the node_modules directory.", code = """ id: node-with-cache - namespace: dev + namespace: company.team tasks: - id: working-dir type: io.kestra.plugin.core.flow.WorkingDirectory diff --git a/core/src/main/java/io/kestra/plugin/core/http/Request.java b/core/src/main/java/io/kestra/plugin/core/http/Request.java index 96eb5cd6b50..476b07a4886 100644 --- a/core/src/main/java/io/kestra/plugin/core/http/Request.java +++ b/core/src/main/java/io/kestra/plugin/core/http/Request.java @@ -41,7 +41,7 @@ full = true, code = """ id: api_call - namespace: dev + namespace: company.team tasks: - id: basic_auth_api type: io.kestra.plugin.core.http.Request diff --git a/core/src/main/java/io/kestra/plugin/core/http/Trigger.java b/core/src/main/java/io/kestra/plugin/core/http/Trigger.java index 887ee0086f6..7e91d448c7c 100644 --- a/core/src/main/java/io/kestra/plugin/core/http/Trigger.java +++ b/core/src/main/java/io/kestra/plugin/core/http/Trigger.java @@ -35,7 +35,7 @@ code = { """ id: http_price_alert - namespace: dev + namespace: company.team tasks: - id: send_slack_alert @@ -63,7 +63,7 @@ code = { """ id: http-trigger - namespace: dev + namespace: company.team triggers: - id: http diff --git a/core/src/main/java/io/kestra/plugin/core/log/Log.java b/core/src/main/java/io/kestra/plugin/core/log/Log.java index a69f431b4a0..8c656aafd19 100644 --- a/core/src/main/java/io/kestra/plugin/core/log/Log.java +++ b/core/src/main/java/io/kestra/plugin/core/log/Log.java @@ -39,7 +39,7 @@ full = true, code = """ id: hello_world - namespace: dev + namespace: company.team tasks: - id: greeting diff --git a/core/src/main/java/io/kestra/plugin/core/namespace/DeleteFiles.java b/core/src/main/java/io/kestra/plugin/core/namespace/DeleteFiles.java index 2089fea0209..39ce44c07c4 100644 --- a/core/src/main/java/io/kestra/plugin/core/namespace/DeleteFiles.java +++ b/core/src/main/java/io/kestra/plugin/core/namespace/DeleteFiles.java @@ -37,7 +37,7 @@ code = { """ id: delete_files - namespace: dev + namespace: company.team tasks: - id: delete type: io.kestra.plugin.core.namespace.DeleteFiles @@ -53,7 +53,7 @@ code = { """ id: delete_all_files - namespace: dev + namespace: company.team tasks: - id: delete type: io.kestra.plugin.core.namespace.DeleteFiles diff --git a/core/src/main/java/io/kestra/plugin/core/namespace/DownloadFiles.java b/core/src/main/java/io/kestra/plugin/core/namespace/DownloadFiles.java index f0f80ce347c..bb0052b4d69 100644 --- a/core/src/main/java/io/kestra/plugin/core/namespace/DownloadFiles.java +++ b/core/src/main/java/io/kestra/plugin/core/namespace/DownloadFiles.java @@ -42,7 +42,7 @@ code = { """ id: download_file - namespace: dev + namespace: company.team tasks: - id: download type: io.kestra.plugin.core.namespace.DownloadFiles @@ -58,7 +58,7 @@ code = { """ id: download_all_files - namespace: dev + namespace: company.team tasks: - id: download type: io.kestra.plugin.core.namespace.DownloadFiles diff --git a/core/src/main/java/io/kestra/plugin/core/namespace/UploadFiles.java b/core/src/main/java/io/kestra/plugin/core/namespace/UploadFiles.java index 820442a32a6..60cafecdc4e 100644 --- a/core/src/main/java/io/kestra/plugin/core/namespace/UploadFiles.java +++ b/core/src/main/java/io/kestra/plugin/core/namespace/UploadFiles.java @@ -37,11 +37,11 @@ @Plugin( examples = { @Example( - title = "Upload a custom Python script to the `dev` namespace and execute it", + title = "Upload a custom Python script to the `dev` namespace and execute it.", full = true, code = """ id: upload_inputfile -namespace: dev +namespace: company.team inputs: - id: my_python_script diff --git a/core/src/main/java/io/kestra/plugin/core/output/OutputValues.java b/core/src/main/java/io/kestra/plugin/core/output/OutputValues.java index 0a1c2489c26..3176f50d4e9 100644 --- a/core/src/main/java/io/kestra/plugin/core/output/OutputValues.java +++ b/core/src/main/java/io/kestra/plugin/core/output/OutputValues.java @@ -31,7 +31,7 @@ full = true, code = """ id: outputs_flow -namespace: myteam +namespace: company.team tasks: - id: output_values diff --git a/core/src/main/java/io/kestra/plugin/core/runner/Process.java b/core/src/main/java/io/kestra/plugin/core/runner/Process.java index 14632d7d32e..a45ade6dc57 100644 --- a/core/src/main/java/io/kestra/plugin/core/runner/Process.java +++ b/core/src/main/java/io/kestra/plugin/core/runner/Process.java @@ -46,7 +46,7 @@ title = "Execute a Shell command.", code = """ id: new-shell - namespace: myteam + namespace: company.team tasks: - id: shell @@ -61,7 +61,7 @@ title = "Pass input files to the task, execute a Shell command, then retrieve output files.", code = """ id: new-shell-with-file - namespace: myteam + namespace: company.team inputs: - id: file diff --git a/core/src/main/java/io/kestra/plugin/core/storage/LocalFiles.java b/core/src/main/java/io/kestra/plugin/core/storage/LocalFiles.java index a2d17f1da7e..157cf106cc9 100644 --- a/core/src/main/java/io/kestra/plugin/core/storage/LocalFiles.java +++ b/core/src/main/java/io/kestra/plugin/core/storage/LocalFiles.java @@ -32,7 +32,7 @@ title = "Output local files created in a Python task and load them to S3.", code = """ id: outputsFromPythonTask - namespace: dev + namespace: company.team tasks: - id: wdir diff --git a/core/src/main/java/io/kestra/plugin/core/trigger/Flow.java b/core/src/main/java/io/kestra/plugin/core/trigger/Flow.java index 62e6f656b8b..ea8dbc11888 100644 --- a/core/src/main/java/io/kestra/plugin/core/trigger/Flow.java +++ b/core/src/main/java/io/kestra/plugin/core/trigger/Flow.java @@ -39,7 +39,7 @@ "and forward the `uri` of `myTask` taskId outputs.", full = true, code = "id: trigger-flow-listener\n" + - "namespace: io.kestra.tests\n" + + "namespace: company.team\n" + "\n" + "inputs:\n" + " - id: from-parent\n" + @@ -57,7 +57,7 @@ " from-parent: '{{ outputs.myTask.uri }}'\n" + " conditions:\n" + " - type: io.kestra.plugin.core.condition.ExecutionFlowCondition\n" + - " namespace: io.kestra.tests\n" + + " namespace: company.team\n" + " flowId: trigger-flow\n" + " - type: io.kestra.plugin.core.condition.ExecutionStatusCondition\n" + " in:\n" + diff --git a/core/src/main/java/io/kestra/plugin/core/trigger/Schedule.java b/core/src/main/java/io/kestra/plugin/core/trigger/Schedule.java index 14ab67fcd66..a40f62bf8af 100644 --- a/core/src/main/java/io/kestra/plugin/core/trigger/Schedule.java +++ b/core/src/main/java/io/kestra/plugin/core/trigger/Schedule.java @@ -59,7 +59,7 @@ full = true, code = """ id: scheduled_flow - namespace: dev + namespace: company.team tasks: - id: sleep_randomly @@ -103,7 +103,7 @@ full = true, code = """ id: business_critical_flow - namespace: production + namespace: company.team tasks: - id: important_task diff --git a/core/src/main/java/io/kestra/plugin/core/trigger/Toggle.java b/core/src/main/java/io/kestra/plugin/core/trigger/Toggle.java index c67cb387258..dcea5dade6e 100644 --- a/core/src/main/java/io/kestra/plugin/core/trigger/Toggle.java +++ b/core/src/main/java/io/kestra/plugin/core/trigger/Toggle.java @@ -40,35 +40,35 @@ code = { """ id: trigger-toggle - namespace: myteam + namespace: company.team - inputs: - - id: toggle - type: BOOLEAN - defaults: true + inputs: + - id: toggle + type: BOOLEAN + defaults: true - tasks: - - id: if - type: io.kestra.plugin.core.flow.If - condition: "{{inputs.toggle}}" - then: - - id: enable - type: io.kestra.plugin.core.trigger.Toggle - trigger: schedule - enabled: true - else: - - id: disable - type: io.kestra.plugin.core.trigger.Toggle - trigger: schedule - enabled: false - - id: log - type: io.kestra.plugin.core.log.Log - message: Hello World + tasks: + - id: if + type: io.kestra.plugin.core.flow.If + condition: "{{inputs.toggle}}" + then: + - id: enable + type: io.kestra.plugin.core.trigger.Toggle + trigger: schedule + enabled: true + else: + - id: disable + type: io.kestra.plugin.core.trigger.Toggle + trigger: schedule + enabled: false + - id: log + type: io.kestra.plugin.core.log.Log + message: Hello World - triggers: - - id: schedule - type: io.kestra.plugin.core.trigger.Schedule - cron: "* * * * *\"""" + triggers: + - id: schedule + type: io.kestra.plugin.core.trigger.Schedule + cron: "* * * * *\"""" } ) }, diff --git a/script/src/main/java/io/kestra/plugin/scripts/runner/docker/Docker.java b/script/src/main/java/io/kestra/plugin/scripts/runner/docker/Docker.java index 5e086a42eb7..f08869707c3 100644 --- a/script/src/main/java/io/kestra/plugin/scripts/runner/docker/Docker.java +++ b/script/src/main/java/io/kestra/plugin/scripts/runner/docker/Docker.java @@ -62,7 +62,7 @@ title = "Execute a Shell command.", code = """ id: new-shell - namespace: myteam + namespace: company.team tasks: - id: shell @@ -77,7 +77,7 @@ title = "Pass input files to the task, execute a Shell command, then retrieve output files.", code = """ id: new-shell-with-file - namespace: myteam + namespace: company.team inputs: - id: file @@ -87,14 +87,14 @@ - id: shell type: io.kestra.plugin.scripts.shell.Commands inputFiles: - data.txt: "{{inputs.file}}" + data.txt: "{{ inputs.file }}" outputFiles: - out.txt containerImage: centos taskRunner: type: io.kestra.plugin.scripts.runner.docker.Docker commands: - - cp {{workingDir}}/data.txt {{workingDir}}/out.txt""", + - cp {{ workingDir }}/data.txt {{ workingDir }}/out.txt""", full = true ) }