Skip to content

Commit

Permalink
Add paths list to Model Instance Runtime.
Browse files Browse the repository at this point in the history
Signed-off-by: Timothy Rule (VM/EMT3) <Timothy.Rule@de.bosch.com>
  • Loading branch information
timrulebosch committed Feb 27, 2025
1 parent d565802 commit 1edc136
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions code/go/dse/kind/Stack.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ type ModelInstanceRuntime struct {
Env *map[string]string `yaml:"env,omitempty"`
Files *[]string `yaml:"files,omitempty"`
I386 *bool `yaml:"i386,omitempty"`
Paths *[]string `yaml:"paths,omitempty"`
X32 *bool `yaml:"x32,omitempty"`
}
type RedisConnection struct {
Expand Down
9 changes: 9 additions & 0 deletions doc/content/schemas/yaml/Stack.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ spec:
property2: string
files:
- string
paths:
- string
x32: true
i386: true
channels:
Expand Down Expand Up @@ -125,6 +127,8 @@ models:
property2: string
files:
- string
paths:
- string
x32: true
i386: true
channels:
Expand Down Expand Up @@ -201,6 +205,8 @@ runtime:
property2: string
files:
- string
paths:
- string
x32: true
i386: true
channels:
Expand Down Expand Up @@ -280,6 +286,8 @@ env:
property2: string
files:
- string
paths:
- string
x32: true
i386: true

Expand All @@ -294,6 +302,7 @@ Runtime properties of a Model Instance.
|env|object|false|Environment variables.|
|» **additionalProperties**|string|false|none|
|files|[string]|false|Additional file arguments passed to ModelC.|
|paths|[string]|false|Paths to scan for additional (YAML) files, subsequently passed as arguments ModelC.|
|x32|boolean|false|Run Model with 32bit ModelC executable (x32 abi)|
|i386|boolean|false|Run Model with 32bit ModelC executable (i386 abi)|
Expand Down
5 changes: 5 additions & 0 deletions schemas/yaml/Stack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,11 @@ components:
description: Additional file arguments passed to ModelC.
items:
type: string
paths:
type: array
description: Paths to scan for additional (YAML) files, subsequently passed as arguments ModelC.
items:
type: string
x32:
type: boolean
description: Run Model with 32bit ModelC executable (x32 abi)
Expand Down

0 comments on commit 1edc136

Please sign in to comment.