Live card
Category: Operations. Tags: Alerts and status, Numbers and metrics, Offices and workplaces.
Data and privacy
Feed: screenrig.builds/v1.
Feed documents carry source attribution. The Player supplies the feed to the card.
Properties
For theme, background, accent, colour overrides and position, see Common properties.
Static properties
| Name | Type | Default | Values and limits | Description |
|---|---|---|---|---|
title | string | "Builds" | maxLength: 40 | |
branch | string | "" | maxLength: 60 | Shows only runs on this branch; empty shows every branch. |
show | string | "all" | "all", "builds", "deploys" | |
staleMinutes | integer | 10 | minimum: 1; maximum: 1440 | Data older than this shows Updated N min ago. |
Dynamic properties
| Name | Type | Default | Values and limits | Description |
|---|---|---|---|---|
updatedAt | string | "" | maxLength: 40 | ISO 8601 instant the pipelines were taken (data store only; a feed carries fetchedAt). |
pipelines | array | [] | maxItems: 60 | |
pipelines[].id | string | "" | maxLength: 60 | |
pipelines[].name | string | minLength: 1; maxLength: 60; Required | The repository or pipeline. | |
pipelines[].branch | string | "" | maxLength: 60 | |
pipelines[].kind | string | "build" | "build", "deploy" | |
pipelines[].environment | string | "" | maxLength: 30 | Where a deploy goes, for example production. |
pipelines[].status | string | "" | maxLength: 24 | passed, failed, running, queued or cancelled. Also read: success, succeeded, ok, green, deployed; failure, error, broken, red, timed-out; in-progress, building, deploying, started; pending, waiting, scheduled; canceled, skipped, aborted. Any other word shows grey as given. |
pipelines[].startedAt | string | "" | maxLength: 40 | ISO 8601 instant the run started (queued runs: when they were queued). A running pipeline's duration counts from it. |
pipelines[].finishedAt | string | "" | maxLength: 40 | ISO 8601 instant the run finished. |
pipelines[].durationSeconds | integer | 0 | minimum: 0; maximum: 8640000 | The run's length. Left out, it is finishedAt minus startedAt. |
pipelines[].actor | string | "" | maxLength: 60 | Who started or triggered it. |
Example params
{
"theme": "neomustard"
}
screenrig card create --type build-board --major 1 --file params.json --context-file context.md
Example data
{
"updatedAt": "",
"pipelines": []
}
Layouts
This fullscreen card fills the whole screen in landscape or portrait and is not placed as a corner, chip, or strip.
Layouts: full. Forms: landscape, portrait.
Use this card
Add this card to a playlist as in Publish a card canvas, place it with the layouts and anchors and update its data as in Write live values.