Cotton code
67 lines · 2.5 KB · JSONRaw
{"format_version":1,"id":"job","setup":true,"name":"CI job","plural":"CI jobs","picture":null,"builtin":true,"engine":"ci","columns":[{"key":"repo_id","name":"Repository","type":"link","link_to":"repository","readonly":true},{"key":"run","name":"Run number","type":"number","readonly":true},{"key":"name","type":"text","readonly":true},{  "key": "status",  "type": "choice",  "choices": [    "running",    "finished",    "stopped"  ],  "readonly": true,  "labels": {    "running": "Running",    "finished": "Finished",    "stopped": "Stopped"  }},{"key":"conclusion","name":"Result","type":"choice","choices":["success","failure","cancelled","skipped","timed_out"],"labels":{"success":"Passed","failure":"Failed","cancelled":"Cancelled","skipped":"Skipped","timed_out":"Ran out of time"},"readonly":true},{"key":"log_on_this_mac","name":"Log on this Mac","type":"bool","readonly":true},{"key":"log","name":"Log","type":"longtext","readonly":true,"markdown":true},{"key":"end_line","name":"End","type":"text","readonly":true},{"key":"problem","name":"Could not be read","type":"text","readonly":true},{  "key": "line_count",  "name": "Lines",  "type": "number",  "readonly": true,  "units": {    "one": "line",    "other": "lines",    "zero": "0 lines"  }}],"title":"name","date":null,"project":null,"order":null,"slip":{"title":"name","subtitle":["conclusion","status"],"subtitle_first":true,"trailing":null,"photo":null,"toggle":null},"tile":{"face":"slip-list"},"page":[{"heading":null,"columns":["name","status","conclusion","log_on_this_mac","problem"]},{"heading":"Log","columns":["log","end_line"]},{"heading":"Details","columns":["run","line_count","repo_id"]}],"add":false,"delete":false,"live":{"every":2},"instructions":"One job of a CI run and its log. The log is read from the Mac that ran the job while it runs and from its filed copy once it ends; it is never kept as records.",  "parts": {    "shape": "sheet",    "head": {      "facts": []    },    "links": [],    "lists": [],    "acts": {      "more": []    },    "cards": [      {        "column": "repo_id"      },      {        "column": "run"      },      {        "column": "status"      },      {        "column": "conclusion"      },      {"column": "log_on_this_mac"},      {        "column": "log",        "row": true      },      {        "column": "end_line"      },      {        "column": "problem",        "row": true      },      {        "column": "line_count"      }    ]  },  "tables": []}