Skip to content

Added before property to container for ordered containers #136

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
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 score-v1b1.json
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,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
Loading