Template:CustomCIStatus

From QEMU
Revision as of 10:09, 30 June 2021 by Ajb (talk | contribs) (Remove redundant shipable project id stuff.)

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
Travis build history Build combinations, Ubuntu 12/14.04 x86_64 hosts, MacOSX next&file=qemu.png
Cirrus CI build history FreeBSD compiles https://api.cirrus-ci.com/github/stsquad/qemu.svg [1]
GitLab CI pipelines Linux compiles and IOTests https://gitlab.com/stsquad/qemu/badges/testing/next/pipeline.svg [2]

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
Travis build history Build combinations, Ubuntu 12/14.04 x86_64 hosts, MacOSX qemu.png?branch=master&file=qemu.png
Cirrus CI build history FreeBSD compiles https://api.cirrus-ci.com/github/qemu/qemu.svg [3]
GitLab CI pipelines Linux compiles and IOTests https://gitlab.com/qemu-project/qemu/badges/master/pipeline.svg [4]