Mirror of @tangled.org/core. Running on a Raspberry Pi Zero 2 (Please be gentle).
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

lexicons: introduce sh.tangled.pipeline.status

Signed-off-by: Anirudh Oppiliappan <anirudh@tangled.sh>

+59
api/tangled/cbor_gen.go

This is a binary file and will not be displayed.

api/tangled/pipelinestatus.go

This is a binary file and will not be displayed.

api/tangled/tangledpipeline.go

This is a binary file and will not be displayed.

+1
cmd/gen.go
··· 22 22 tangled.GitRefUpdate{}, 23 23 tangled.GraphFollow{}, 24 24 tangled.KnotMember{}, 25 + tangled.PipelineStatus{}, 25 26 tangled.Pipeline_CloneOpts{}, 26 27 tangled.Pipeline_Dependencies_Elem{}, 27 28 tangled.Pipeline_ManualTriggerData_Inputs_Elem{},
+58
lexicons/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 + "required": ["pipeline", "status", "startedAt", "updatedAt"], 13 + "properties": { 14 + "pipeline": { 15 + "type": "string", 16 + "format": "at-uri", 17 + "description": "pipeline at ref" 18 + }, 19 + "status": { 20 + "type": "string", 21 + "description": "Pipeline status", 22 + "enum": [ 23 + "pending", 24 + "running", 25 + "failed", 26 + "timeout", 27 + "cancelled", 28 + "success" 29 + ] 30 + }, 31 + "error": { 32 + "type": "string", 33 + "description": "error message if failed" 34 + }, 35 + "exitCode": { 36 + "type": "integer", 37 + "description": "exit code if failed" 38 + }, 39 + "startedAt": { 40 + "type": "string", 41 + "format": "datetime", 42 + "description": "pipeline start time" 43 + }, 44 + "updatedAt": { 45 + "type": "string", 46 + "format": "datetime", 47 + "description": "pipeline last updated time" 48 + }, 49 + "finishedAt": { 50 + "type": "string", 51 + "format": "datetime", 52 + "description": "pipeline finish time, if finished" 53 + } 54 + } 55 + } 56 + } 57 + } 58 + }