Template:CustomCIStatus

From QEMU
Revision as of 17:48, 12 March 2019 by Ajb (talk | contribs) (Initial version)
(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 Focus Status
Travis Build combinations, Ubuntu 12/14.04 x86_64 hosts, MacOSX next&file=qemu.png [1]
Shippable Docker based cross-compiles (Debian Based) next&foo=qemu.png [2]
Cirrus CI FreeBSD compiles https://api.cirrus-ci.com/github/stsquad/qemu.svg [3]
GitLab CI Linux compiles and IOTests https://gitlab.com/stsquad/qemu/badges/testing/next/pipeline.svg [4]

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
System Focus Status
Travis Build combinations, Ubuntu 12/14.04 x86_64 hosts, MacOSX qemu.png?branch=master&file=qemu.png [5]
Shippable Docker based cross-compiles (Debian Based) https://api.shippable.com/projects/5885eb1e11c45a1000af5662/badge?branch={{{branch}}}&foo=qemu.png [6]
Cirrus CI FreeBSD compiles https://api.cirrus-ci.com/github/qemu/qemu.svg [7]
GitLab CI Linux compiles and IOTests https://gitlab.com/qemu-project/qemu/badges/master/pipeline.svg [8]