From: Matthias Kruk Date: Sun, 1 Aug 2021 05:07:56 +0000 (+0900) Subject: spec: Remove "logs" property from test and build messages X-Git-Url: https://git.corax.cc/?a=commitdiff_plain;h=35d3288fa83d93b4f927a37eba6da9cdbd3fcdee;p=foundry 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. --- 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" ] }