Skip to content

Commit a73a32b

Browse files
authored
Merge pull request #995 from neuroglia-io/feat-add-await-run
Add a new property used to determine whether or not to await the execution of a process
2 parents fbcd135 + b44177f commit a73a32b

File tree

4 files changed

+8
-57
lines changed

4 files changed

+8
-57
lines changed

.markdownlint.yaml

Lines changed: 0 additions & 23 deletions
This file was deleted.

.typo-ci.yml

Lines changed: 0 additions & 34 deletions
This file was deleted.

dsl-reference.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -720,6 +720,7 @@ Provides the capability to execute external [containers](#container-process), [s
720720
| run.script | [`script`](#script-process) | `no` | The definition of the script to run.<br>*Required if `container`, `shell` and `workflow` have not been set.* |
721721
| run.shell | [`shell`](#shell-process) | `no` | The definition of the shell command to run.<br>*Required if `container`, `script` and `workflow` have not been set.* |
722722
| run.workflow | [`workflow`](#workflow-process) | `no` | The definition of the workflow to run.<br>*Required if `container`, `script` and `shell` have not been set.* |
723+
| await | `boolean` | `no` | Determines whether or not the process to run should be awaited for.<br>*Defaults to `true`.* |
723724

724725
##### Examples
725726

schema/workflow.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -565,6 +565,13 @@ $defs:
565565
type: object
566566
title: RunTaskConfiguration
567567
description: The configuration of the process to execute.
568+
unevaluatedProperties: false
569+
properties:
570+
await:
571+
type: boolean
572+
default: true
573+
title: AwaitProcessCompletion
574+
description: Whether to await the process completion before continuing.
568575
oneOf:
569576
- title: RunContainer
570577
description: Enables the execution of external processes encapsulated within a containerized environment.

0 commit comments

Comments
 (0)