From 86931b65cee02e2ed88b585e79ab2eb772c60a84 Mon Sep 17 00:00:00 2001 From: kai-kystverket Date: Thu, 3 Apr 2025 16:25:52 +0200 Subject: [PATCH] Added before property to container for ordered containers Signed-off-by: kai-kystverket --- score-v1b1.json | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/score-v1b1.json b/score-v1b1.json index 879bfc8..6846f83 100644 --- a/score-v1b1.json +++ b/score-v1b1.json @@ -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",