Skip to content

[req] Status badges for readmes #26

Closed

Description

@drnic

As a project I'd like to show off my current CI pipeline status in my README. Ideally to distinguish that I'm using concourse I'd like the badge to be an actual view of the pipeline itself - green/orange/red boxes connected by lines - rather than a simplistic green/red badge. Concourse does more and so perhaps the badge could indicate this.

image

Activity

  1. changed the title [-][req] Badges for readmes[/-] [+][req] Status badges for readmes[/+] on Apr 26, 2015
  2. concourse-bot commented on Jul 21, 2015

    @concourse-bot

    Hi there!

    We use Pivotal Tracker to provide visibility into what our team is working on. A story for this issue has been automatically created.

    The current status is as follows:

    • #118422425 jobs API endpoint serves SVG badges of latest status

    This comment, as well as the labels on the issue, will be automatically updated as the status in Tracker changes.

  3. robdimsdale commented on Aug 3, 2015

    @robdimsdale
    Contributor

    +1 This would be really useful for migrating OSS projects away from hosted solutions like travis etc, where the community would like to see the state of the project.

    Could it be implemented as a resource? I would image we would need some server that hosts the image and then the resource could take a snapshot of the pipeline SVG and upload it. I wonder if this presents itself as an odd user-experience though. Depending on the frequency at which the snapshot runs, the result image could be confusing for people - e.g. it's not clear which commit triggered the pipeline.

    Perhaps a better idea is to have a new pipeline image taken and uploaded whenever any job changes state? This way the image is always up to date.

    Separately, if we want a basic badge, we should consider conforming to the http://shields.io/ standard

  4. xoebus commented on Aug 3, 2015

    @xoebus
    Contributor

    I've attached the Tracker story that has some other discussion about this above #72388008.

    I think going with something like http://shields.io makes the most sense to begin with. The endpoint on the ATC that serves up the images should probabaly allow for specifying multiple jobs which should be joined together in a conjunction when determining whether or not the image should show success or not.

    Generating little pipeline previews is neat but since the text is too small to read creating a bespoke image style (in the long term) may be best.

  5. cunnie commented on Oct 20, 2015

    @cunnie
    Contributor

    +1 to Rob's comment—having badges would be useful for migrating OSS projects away from hosted solutions like Travis. Admittedly it's more of a marketing feature ("we're serious about testing our [Android] project and have the badge to prove it") than a technical feature, but let's not understate its emotional import—It's the biggest single feature I miss when I migrated my project from Travis.

  6. tylerschultz commented on Feb 19, 2016

    @tylerschultz

    +1 I'd really like to have something to show in on a readme.

  7. wfernandes commented on Mar 3, 2016

    @wfernandes

    +1 to Rob's comment. Loggregator has been seeing flakiness on travis and would love to have build badges for the CI we truly rely on.

  8. cunnie commented on Apr 26, 2016

    @cunnie
    Contributor

    With @xoebus 's help we wrote a first pass at serving an image (SVG) indicating the status of a job's build: vmware-archive/atc#77

  9. concourse-bot commented on May 5, 2016

    @concourse-bot

    Hello again!

    All stories related to this issue have been accepted, so I'm going to automatically close this issue.

    At the time of writing, the following stories have been accepted:

    • #118422425 jobs API endpoint serves SVG badges of latest status

    If you feel there is still more to be done, or if you have any questions, leave a comment and we'll reopen if necessary!

  10. added a commit that references this issue on Aug 17, 2016
  11. wfernandes commented on Aug 29, 2016

    @wfernandes

    @cunnie The link is 404-ing

  12. drnic commented on Aug 29, 2016

    @drnic
    ContributorAuthor

    Warren - if using v2.0 then need to add /teams/main to the URL and to "fly expose-pipeline" I think

    On Tue, Aug 30, 2016 at 5:44 AM +1000, "Warren Fernandes" [email protected] wrote:

    @cunnie The link is 404-ing

    —
    You are receiving this because you authored the thread.
    Reply to this email directly, view it on GitHub, or mute the thread.

  13. cunnie commented on Sep 5, 2016

    @cunnie
    Contributor

    Sorry @drnic @wfernandes for the 404-ing — that was my bad. It should work now.

    I published the post the same weekend as v2.0.0 of Concourse was released, and discovered that my blog post was stale, that the endpoint had changed. @vito was kind enough to re-establish the endpoint for me in 2.0.1, but in the interim I unpublished the blog post.

    I re-published the blog post on Friday with a footnote describing the special endpoint that v2.0.0 requires.

  14. added a commit that references this issue on Mar 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions