Template:CustomCIStatus

From QEMU
Revision as of 10:12, 30 June 2021 by Ajb (talk | contribs) (Swap around the order to surface gitlab, promote GitLab to primary, update links to travis-ci.com)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Usage

This template can be embedded on any page to report the status of any branch using the template transclusion syntax:

{{CustomCIStatus|user=stsquad|repo=qemu|branch=testing/next}}

Give:

System Summary Focus Branch:testing/next status
GitLab CI pipelines Primary CI, tries to incorporate data from others https://gitlab.com/stsquad/qemu/badges/testing/next/pipeline.svg [1]
Cirrus CI build history FreeBSD compiles https://api.cirrus-ci.com/github/stsquad/qemu.svg [2]
Travis build history Non-x86_64 hosts next&file=qemu.png

Parameters

* user - username (assumes you use the same one across systems)
* repo - name of your repo
* branch - branch you are tracking

Defaults

The defaults are set to track the master branch of the main repository:

System Summary Focus Branch:master status
GitLab CI pipelines Primary CI, tries to incorporate data from others https://gitlab.com/qemu-project/qemu/badges/master/pipeline.svg [3]
Cirrus CI build history FreeBSD compiles https://api.cirrus-ci.com/github/qemu/qemu.svg [4]
Travis build history Non-x86_64 hosts qemu.png?branch=master&file=qemu.png