Skip to content

Commit e229eff

Browse files
committed
Update the schema to include new features
Signed-off-by: Charles d'Avernas <charles.davernas@neuroglia.io>
1 parent 2d59f03 commit e229eff

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

schema/workflow.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -581,6 +581,12 @@ $defs:
581581
default: true
582582
title: AwaitProcessCompletion
583583
description: Whether to await the process completion before continuing.
584+
return:
585+
type: string
586+
title: ProcessReturnType
587+
description: Configures the output of the process.
588+
enum: [ stdout, stderr, code, all, none ]
589+
default: stdout
584590
oneOf:
585591
- title: RunContainer
586592
description: Enables the execution of external processes encapsulated within a containerized environment.
@@ -1535,3 +1541,21 @@ $defs:
15351541
title: RuntimeExpression
15361542
description: A runtime expression.
15371543
pattern: "^\\s*\\$\\{.+\\}\\s*$"
1544+
processResult:
1545+
type: object
1546+
title: ProcessResult
1547+
description: The object returned by a run task when its return type has been set 'all'
1548+
properties:
1549+
code:
1550+
type: integer
1551+
title: ProcessExitCode
1552+
description: The process's exit code.
1553+
stdout:
1554+
type: string
1555+
title: ProcessStandardOutput
1556+
description: The content of the process's STDOUT
1557+
stderr:
1558+
type: string
1559+
title: ProcessStandardError
1560+
description: The content of the process's STDERR
1561+
required: [ code, stdout, stderr ]

0 commit comments

Comments
 (0)