full diff

org.tangled.ci.subscribePipelineLogs

tangled.org +0 −0
From
bafyreihakae5tr6msxkrpwnrhwbu3sb2ceehyojbeqtmpzot2wknaqg2nu indexed 2026-10-28 14:06 UTC View this version
To
bafyreihakae5tr6msxkrpwnrhwbu3sb2ceehyojbeqtmpzot2wknaqg2nu indexed 2026-10-28 14:06 UTC View this version

Compatibility

backward compatible No changes detected.

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "control": {
55 "properties": {
66 "command": {
77 "description": "Step command",
88 "type": "string"
99 },
1010 "content": {
1111 "type": "string"
1212 },
1313 "kind": {
1414 "description": "Step kind",
1515 "enum": [
1616 "system",
1717 "user"
1818 ],
1919 "type": "string"
2020 },
2121 "outcome": {
2222 "description": "How the step ended, only set on end frames for steps that can fail",
2323 "enum": [
2424 "success",
2525 "failed"
2626 ],
2727 "type": "string"
2828 },
2929 "status": {
3030 "description": "Step status",
3131 "enum": [
3232 "start",
3333 "end"
3434 ],
3535 "type": "string"
3636 },
3737 "step": {
3838 "description": "Step ID",
3939 "type": "integer"
4040 },
4141 "time": {
4242 "format": "datetime",
4343 "type": "string"
4444 },
4545 "workflow": {
4646 "description": "workflow name",
4747 "type": "string"
4848 }
4949 },
5050 "required": [
5151 "time",
5252 "workflow",
5353 "step",
5454 "content"
5555 ],
5656 "type": "object"
5757 },
5858 "data": {
5959 "properties": {
6060 "content": {
6161 "type": "string"
6262 },
6363 "step": {
6464 "description": "Step ID",
6565 "type": "integer"
6666 },
6767 "stream": {
6868 "enum": [
6969 "stdout",
7070 "stderr"
7171 ],
7272 "type": "string"
7373 },
7474 "time": {
7575 "format": "datetime",
7676 "type": "string"
7777 },
7878 "workflow": {
7979 "description": "workflow name",
8080 "type": "string"
8181 }
8282 },
8383 "required": [
8484 "time",
8585 "workflow",
8686 "step",
8787 "content",
8888 "stream"
8989 ],
9090 "type": "object"
9191 },
9292 "main": {
9393 "description": "Pipeline logs stream",
9494 "errors": [
9595 {
9696 "description": "Pipeline not found",
9797 "name": "PipelineNotFound"
9898 },
9999 {
100100 "description": "Workflow not found",
101101 "name": "WorkflowNotFound"
102102 },
103103 {
104104 "description": "Invalid request parameters",
105105 "name": "InvalidRequest"
106106 }
107107 ],
108108 "message": {
109109 "schema": {
110110 "refs": [
111111 "#control",
112112 "#data"
113113 ],
114114 "type": "union"
115115 }
116116 },
117117 "parameters": {
118118 "properties": {
119119 "pipeline": {
120120 "description": "Pipeline ID",
121121 "type": "string"
122122 },
123123 "repo": {
124124 "description": "Repository DID",
125125 "format": "did",
126126 "type": "string"
127127 },
128128 "workflows": {
129129 "description": "filter logs by specific workflows",
130130 "items": {
131131 "description": "Workflow name",
132132 "type": "string"
133133 },
134134 "type": "array"
135135 }
136136 },
137137 "required": [
138138 "repo",
139139 "pipeline"
140140 ],
141141 "type": "params"
142142 },
143143 "type": "subscription"
144144 }
145145 },
146146 "id": "org.tangled.ci.subscribePipelineLogs",
147147 "lexicon": 1
148148}