sh.tangled.pipeline.status.json

 1{
 2  "lexicon": 1,
 3  "id": "sh.tangled.pipeline.status",
 4  "needsCbor": true,
 5  "needsType": true,
 6  "defs": {
 7    "main": {
 8      "type": "record",
 9      "key": "tid",
10      "record": {
11        "type": "object",
12        "description": "DEPRECATED: use sh.tangled.ci.pipeline instead",
13        "required": ["pipeline", "workflow", "status", "createdAt"],
14        "properties": {
15          "pipeline": {
16            "type": "string",
17            "format": "at-uri",
18            "description": "ATURI of the pipeline"
19          },
20          "workflow": {
21            "type": "string",
22            "format": "at-uri",
23            "description": "name of the workflow within this pipeline"
24          },
25          "status": {
26            "type": "string",
27            "description": "status of the workflow",
28            "enum": [
29              "pending",
30              "running",
31              "failed",
32              "timeout",
33              "cancelled",
34              "success"
35            ]
36          },
37          "createdAt": {
38            "type": "string",
39            "format": "datetime",
40            "description": "time of creation of this status update"
41          },
42          "error": {
43            "type": "string",
44            "description": "error message if failed"
45          },
46          "exitCode": {
47            "type": "integer",
48            "description": "exit code if failed"
49          }
50        }
51      }
52    }
53  }
54}