~ knotless Search/
↑↓ move↵ open⇧↵ all results

johnandersen777.bsky.social/atlibs-socialweb-computer-requester

socialweb.computer market requester and policy modules for atlibs, with its web pages and lexicons

0
0
54 lines · 1.4 KB Raw History
{
  "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:///<ref>/shell/... or webrtc:///<ref>/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"
            }
          }
        }
      }
    }
  }
}