Skip to content

Commit

Permalink
Merge pull request #995 from neuroglia-io/feat-add-await-run
Browse files Browse the repository at this point in the history
Add a new property used to determine whether or not to await the execution of a process
  • Loading branch information
cdavernas authored Aug 30, 2024
2 parents fbcd135 + b44177f commit a73a32b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 57 deletions.
23 changes: 0 additions & 23 deletions .markdownlint.yaml

This file was deleted.

34 changes: 0 additions & 34 deletions .typo-ci.yml

This file was deleted.

1 change: 1 addition & 0 deletions dsl-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -720,6 +720,7 @@ Provides the capability to execute external [containers](#container-process), [s
| run.script | [`script`](#script-process) | `no` | The definition of the script to run.<br>*Required if `container`, `shell` and `workflow` have not been set.* |
| 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.* |
| run.workflow | [`workflow`](#workflow-process) | `no` | The definition of the workflow to run.<br>*Required if `container`, `script` and `shell` have not been set.* |
| await | `boolean` | `no` | Determines whether or not the process to run should be awaited for.<br>*Defaults to `true`.* |

##### Examples

Expand Down
7 changes: 7 additions & 0 deletions schema/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -565,6 +565,13 @@ $defs:
type: object
title: RunTaskConfiguration
description: The configuration of the process to execute.
unevaluatedProperties: false
properties:
await:
type: boolean
default: true
title: AwaitProcessCompletion
description: Whether to await the process completion before continuing.
oneOf:
- title: RunContainer
description: Enables the execution of external processes encapsulated within a containerized environment.
Expand Down

0 comments on commit a73a32b

Please sign in to comment.