Template:CustomCIStatus

From QEMU
Revision as of 15:44, 22 October 2019 by Ajb (talk | contribs) (re-org table with a new column)

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|ship_proj=5885eac43b653a0f00fa97f5}}

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
Shippable dashboard Docker based cross-compiles (Debian Based) next&foo=qemu.png [1]
Cirrus CI build history FreeBSD compiles https://api.cirrus-ci.com/github/stsquad/qemu.svg [2]
GitLab CI pipelines Linux compiles and IOTests https://gitlab.com/stsquad/qemu/badges/testing/next/pipeline.svg [3]

Parameters

* user - username (assumes you use the same one across systems)
* repo - name of your repo
* ship_proj - shippable project id
* 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
Shippable dashboard Docker based cross-compiles (Debian Based) badge?branch=master&foo=qemu.png [4]
Cirrus CI build history FreeBSD compiles https://api.cirrus-ci.com/github/qemu/qemu.svg [5]
GitLab CI pipelines Linux compiles and IOTests https://gitlab.com/qemu-project/qemu/badges/master/pipeline.svg [6]