Build and deploy status
A build and deploy status screen is a digital signage screen in an engineering team's area that lists the latest pipeline runs from the CI system, which passed, which failed and which are still running. A red build on main gets noticed by the team in minutes, not when the next person opens a pull request.
Updated
- Owned by
- Engineering, often the platform team
- Content from
- The CI system's API, such as GitHub Actions, GitLab CI or Jenkins
- Seen by
- Engineers and the people on call
- Where it hangs
- Team areas, engineering floors, the on-call desk
What is on the screen
- 1Each repository or service with its branch.
- 2The latest run's result, passed, failed, running or queued, in colors that read at a glance.
- 3How long each run took, or how long it has been going.
How to do it in Screenly
Pipeline results change every few minutes. The screen has to read the CI system live, and say so when it cannot.
- Best fit App
For results read from the CI system's API with a read-only token, laid out large for a wall. An app can mark the list as stale when the API stops answering, so an old green board is never taken for a healthy one.
App docs - Also works Web page
For a CI dashboard or a Grafana board the team already uses. A page that needs a sign-in can have one. If the page cannot load, the screen skips it until it can.
Web page docs - Not a fit Image
A picture of passing builds hides the one that failed after it was taken.
- Not a fit Video
Pipeline runs happen live; nothing can be made ahead.
Keeping it right
Main branches, not every branch
A wall readable from across the room shows the branches that ship. Feature branches belong in the CI tool.
Each team its own pipelines
Screens are grouped by team, and each group's page or app shows only that team's repositories.
The CI tool still pages people
A failed deploy is reported by the CI system and the on-call tool. The screen shows the state of the pipelines to whoever looks up.
Security
The CI system's token is stored as a secret, encrypted for each screen, and never appears in the page source. A self-hosted CI server on your private network is reachable over Tailscale on ScreenlyOS screens.
How Screenly keeps credentials secureSources
- Appswhat an app does when its source is unreachable
- Authenticated pagespages that need a sign-in
- GrafanaGrafana boards from your own account