New issue
Advanced search Search tips

Issue 787505 link

Starred by 2 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Feature

Blocking:
issue 787510



Sign in to add a comment

Milo should expose Travis-like CI badges.

Project Member Reported by d...@chromium.org, Nov 21 2017

Issue description

Milo should support linking to Travis-like badges for specific builders so that repositories can include their build status in their front mages (e.g., README.md).

I'm thinking something like this: for each builder, add a URL extension that resolves to a "passing", "failing", or "unknown" status for a builder based on its latest build.

Proposed URL:
- For builder: https://ci.chromium.org/p/infra/builders/luci.infra.ci/luci-gae-continuous-trusty-64
- Have a URL: https://ci.chromium.org/p/infra/builders/luci.infra.ci/luci-gae-continuous-trusty-64/ci-status-badge.png

The ".png" URL would resolve into a static resource URL based on the status of the most recent build.

Travis badges can be found here:
- https://raw.githubusercontent.com/travis-ci/travis-api/master/public/images/result/passing.png
- https://raw.githubusercontent.com/travis-ci/travis-api/master/public/images/result/failing.png
- https://raw.githubusercontent.com/travis-ci/travis-api/master/public/images/result/unknown.png

* Probably should mod them a bit for copyright reasons - maybe "LUCI:passing"?
 
Labels: LUCI-Afterglow
I think this would be pretty easy to render from tree status and/or BuilderSummary.

Comment 2 by d...@chromium.org, Nov 21 2017

Blocking: 787510
Labels: -Type-Bug Type-Feature
Status: Available (was: Untriaged)
Cc: -iannucci@chromium.org iannu...@google.com

Sign in to add a comment