{ "lexicon": 1, "id": "computer.socialweb.cicd.workload.run", "defs": { "main": { "type": "procedure", "description": "A CI job on a machine: its checkout, then its steps, the first failing one ending it. Result as it runs: {step, output}; at the end {steps, ok}.", "input": { "encoding": "application/json", "schema": { "type": "object", "required": [ "url", "job" ], "properties": { "url": { "type": "string", "description": "Where the machine is reached: iroh:////shell/... or webrtc:////shell/..." }, "job": { "type": "unknown", "description": "{checkout: {git, commit, merge?: {git, commit}}, env?: {NAME: value}, steps: [{name, run, env?}]}" } } } }, "output": { "encoding": "application/json", "schema": { "type": "object", "properties": { "steps": { "type": "array", "items": { "type": "unknown", "description": "{name, exitCode}" } }, "ok": { "type": "boolean" }, "step": { "type": "string" }, "output": { "type": "string" } } } } } } }