Skip to content

Commit

Permalink
Add i386 flag to ModelInstanceRuntime schema.
Browse files Browse the repository at this point in the history
Signed-off-by: Rule Timothy (VM/EMT3) <[email protected]>
  • Loading branch information
timrulebosch committed Aug 14, 2024
1 parent 1d93153 commit d4f62aa
Show file tree
Hide file tree
Showing 3 changed files with 9 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 @@ -31,6 +31,7 @@ type ModelInstance struct {
type ModelInstanceRuntime struct {
Env *map[string]string `yaml:"env,omitempty"`
Files *[]string `yaml:"files,omitempty"`
I386 *bool `yaml:"i386,omitempty"`
X32 *bool `yaml:"x32,omitempty"`
}
type RedisConnection struct {
Expand Down
5 changes: 5 additions & 0 deletions doc/content/schemas/yaml/Stack.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ spec:
files:
- string
x32: true
i386: true
channels:
- name: string
alias: string
Expand Down Expand Up @@ -125,6 +126,7 @@ models:
files:
- string
x32: true
i386: true
channels:
- name: string
alias: string
Expand Down Expand Up @@ -200,6 +202,7 @@ runtime:
files:
- string
x32: true
i386: true
channels:
- name: string
alias: string
Expand Down Expand Up @@ -278,6 +281,7 @@ env:
files:
- string
x32: true
i386: true

```
Expand All @@ -291,6 +295,7 @@ Runtime properties of a Model Instance.
|» **additionalProperties**|string|false|none|
|files|[string]|false|Additional file arguments passed to ModelC.|
|x32|boolean|false|Run Model with 32bit ModelC executable (x32 abi)|
|i386|boolean|false|Run Model with 32bit ModelC executable (i386 abi)|
<h2 id="tocS_RedisConnection">RedisConnection</h2>
Expand Down
3 changes: 3 additions & 0 deletions schemas/yaml/Stack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,9 @@ components:
x32:
type: boolean
description: Run Model with 32bit ModelC executable (x32 abi)
i386:
type: boolean
description: Run Model with 32bit ModelC executable (i386 abi)
RedisConnection:
type: object
description: Redis connection.
Expand Down

0 comments on commit d4f62aa

Please sign in to comment.