Template:CustomCIStatus

From QEMU
Revision as of 11:26, 15 February 2021 by Ajb (talk | contribs) (Drop shippable from the table)

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
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
* 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
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]