Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions schema/files/score-v1b1.json
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,38 @@
}
]
},
"before": {
"description": "A list of containers which should run before a main process.",
"type": "array",
"additionalProperties": false,
"required": ["containers", "ready"],
"items": {
"type": "object",
"properties": {
"containers": {
"description": "The list of containers to run before the main process.",
"type": "array",
"items": {
"type": "string",
"description": "A container ID in this implementation.",
"minLength": 2,
"maxLength": 63,
"pattern": "^[a-z0-9][a-z0-9-]{0,61}[a-z0-9]$"
}
},
"ready": {
"description": "The status of the container before the next container are started.",
"title": "Ready",
"type": "string",
"enum": [
"started",
"healthy",
"complete"
]
}
}
}
},
"resources": {
"description": "The compute resources for the container.",
"type": "object",
Expand Down
35 changes: 35 additions & 0 deletions schema/files/score-v1b1.json.for-validation
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,41 @@
"$ref": "#/$defs/containerVolume"
}
},
"before": {
"description": "A list of containers which should run before a main process.",
"type": "array",
"additionalProperties": false,
"required": [
"containers",
"ready"
],
"items": {
"type": "object",
"properties": {
"containers": {
"description": "The list of containers to run before the main process.",
"type": "array",
"items": {
"type": "string",
"description": "A container ID in this implementation.",
"minLength": 2,
"maxLength": 63,
"pattern": "^[a-z0-9][a-z0-9-]{0,61}[a-z0-9]$"
}
},
"ready": {
"description": "The status of the container before the next container are started.",
"title": "Ready",
"type": "string",
"enum": [
"started",
"healthy",
"complete"
]
}
}
}
},
"resources": {
"description": "The compute resources for the container.",
"type": "object",
Expand Down
Loading