No description available.
Properties
human-readable name of external source
View raw schema
{
"properties": {
"link": {
"format": "uri",
"type": "string"
},
"name": {
"description": "human-readable name of external source",
"type": "string"
}
},
"required": [
"link"
],
"type": "object"
}
No description available.
Properties
No description available.
maxLength: 128 bytesminLength: 40 bytes
No description available.
No description available.
minLength: 1 bytes
A decentralized identifier (DID).
View raw schema
{
"properties": {
"commit": {
"maxLength": 128,
"minLength": 40,
"type": "string"
},
"lines": {
"ref": "#lineRange",
"type": "ref"
},
"path": {
"minLength": 1,
"type": "string"
},
"repo": {
"format": "did",
"type": "string"
}
},
"required": [
"repo",
"commit",
"path"
],
"type": "object"
}
No description available.
Properties
No description available.
minimum: 1
No description available.
minimum: 1
View raw schema
{
"properties": {
"end": {
"minimum": 1,
"type": "integer"
},
"start": {
"minimum": 1,
"type": "integer"
}
},
"required": [
"start",
"end"
],
"type": "object"
}
A CI pipeline. Record-like, but owned by the spindle rather than a PDS.
Properties
Commit Id this pipeline is running on
An RFC 3339 formatted timestamp.
Spindle-local pipeline id
Repository DID that the commit was checked out from, if different from repo (e.g. a fork for a fork-based pull request)
Trigger event that triggered this pipeline.
Triggered workflows
maxLength: 50 itemsminLength: 1 items
View raw schema
{
"description": "A CI pipeline. Record-like, but owned by the spindle rather than a PDS.",
"properties": {
"commit": {
"description": "Commit Id this pipeline is running on",
"type": "string"
},
"createdAt": {
"format": "datetime",
"type": "string"
},
"id": {
"description": "Spindle-local pipeline id",
"format": "record-key",
"type": "string"
},
"repo": {
"description": "Repository DID",
"format": "did",
"type": "string"
},
"sourceRepo": {
"description": "Repository DID that the commit was checked out from, if different from repo (e.g. a fork for a fork-based pull request)",
"format": "did",
"type": "string"
},
"trigger": {
"closed": false,
"description": "Trigger event that triggered this pipeline.",
"refs": [
"org.tangled.event.push",
"org.tangled.event.pullRequest",
"org.tangled.ci.trigger.manual",
"org.tangled.ci.trigger.schedule"
],
"type": "union"
},
"workflows": {
"description": "Triggered workflows",
"items": {
"ref": "#workflowRun",
"type": "ref"
},
"maxLength": 50,
"minLength": 1,
"type": "array"
}
},
"required": [
"id",
"repo",
"trigger",
"commit",
"workflows"
],
"type": "object"
}
A workflow definition
Properties
Fingerprint of the workflow definition as resolved by the spindle.
No description available.
maxLength: 128 bytesminLength: 1 bytes
Human-readable name of the workflow
maxLength: 128 bytesminLength: 1 bytes
No description available.
Event types that triggers this workflow.
View raw schema
{
"description": "A workflow definition",
"properties": {
"hash": {
"description": "Fingerprint of the workflow definition as resolved by the spindle.",
"type": "string"
},
"id": {
"maxLength": 128,
"minLength": 1,
"type": "string"
},
"name": {
"description": "Human-readable name of the workflow",
"maxLength": 128,
"minLength": 1,
"type": "string"
},
"source": {
"refs": [
"#fileSource",
"#externalSource"
],
"type": "union"
},
"triggers": {
"description": "Event types that triggers this workflow.",
"items": {
"knownValues": [
"org.tangled.event.push",
"org.tangled.event.pullRequest",
"org.tangled.ci.trigger.manual",
"org.tangled.ci.trigger.schedule"
],
"type": "string"
},
"type": "array"
}
},
"required": [
"id",
"source",
"triggers"
],
"type": "object"
}
No description available.
Properties
Workflow definition where this workflow run is originated from.
No description available.
An RFC 3339 formatted timestamp.
Pipeline-local workflow id, usually same as name.
maxLength: 128 bytesminLength: 1 bytes
Human-readable name of the workflow
maxLength: 128 bytes
An RFC 3339 formatted timestamp.
View raw schema
{
"properties": {
"definition": {
"description": "Workflow definition where this workflow run is originated from.",
"ref": "#workflow",
"type": "ref"
},
"error": {
"type": "string"
},
"finishedAt": {
"format": "datetime",
"type": "string"
},
"id": {
"description": "Pipeline-local workflow id, usually same as name.",
"maxLength": 128,
"minLength": 1,
"type": "string"
},
"name": {
"description": "Human-readable name of the workflow",
"maxLength": 128,
"type": "string"
},
"startedAt": {
"format": "datetime",
"type": "string"
},
"status": {
"description": "Workflow status",
"enum": [
"pending",
"blocked",
"running",
"failed",
"timeout",
"cancelled",
"success"
],
"type": "string"
}
},
"required": [
"definition",
"id",
"status"
],
"type": "object"
}