]> git.corax.cc Git - foundry/commitdiff
spec: Remove "logs" property from test and build messages
authorMatthias Kruk <m@m10k.eu>
Sun, 1 Aug 2021 05:07:56 +0000 (14:07 +0900)
committerMatthias Kruk <m@m10k.eu>
Sun, 1 Aug 2021 05:07:56 +0000 (14:07 +0900)
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
spec/test.json

index 79c59488eddb57f5df695474945a4357ada53199..7c2545684a5231c73ee9428f83df32ba82ad38b4 100644 (file)
                "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": {
index de805b2c5a8cbb446a6598086c55dcea1e1586eb..c8df49538a21e5c59da0260c71b78bc3a4f82639 100644 (file)
        "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"
     ]
 }