From 35d3288fa83d93b4f927a37eba6da9cdbd3fcdee Mon Sep 17 00:00:00 2001 From: Matthias Kruk Date: Sun, 1 Aug 2021 14:07:56 +0900 Subject: [PATCH] spec: Remove "logs" property from test and build messages The test and build messages have a required property that the sender must use to send the names of generated logfiles. However, since processes will generally register log messages with the context, it is not necessary to send the names of logfiles in an IPC message. This commit removes the "logs" property from the specification of the test and build messages. --- spec/build.json | 12 +----------- spec/test.json | 12 +----------- 2 files changed, 2 insertions(+), 22 deletions(-) diff --git a/spec/build.json b/spec/build.json index 79c5948..7c25456 100644 --- a/spec/build.json +++ b/spec/build.json @@ -34,15 +34,6 @@ "type": "#/$defs/artifact" }, "minItems": 1 - }, - - "logs": { - "description": "Logfiles from the build", - "type": "array", - "items": { - "type": "string" - }, - "minItems": 1 } }, @@ -51,8 +42,7 @@ "repository", "branch", "commit", - "artifacts", - "logs" + "artifacts" ], "$defs": { diff --git a/spec/test.json b/spec/test.json index de805b2..c8df495 100644 --- a/spec/test.json +++ b/spec/test.json @@ -28,15 +28,6 @@ "result": { "description": "Result of the test (zero = success, non-zero = failure)", "type": "integer" - }, - - "logs": { - "description": "Log files generated during the test", - "type": "array", - "items": { - "type": "string" - }, - "minItems": 1 } }, @@ -45,7 +36,6 @@ "repository", "branch", "commit", - "result", - "logs" + "result" ] } -- 2.47.3