Template:CustomCIStatus: Difference between revisions

From QEMU
(Drop shippable from the table)
(Remove redundant shipable project id stuff.)
Line 5: Line 5:


<pre>
<pre>
{{CustomCIStatus|user=stsquad|repo=qemu|branch=testing/next|ship_proj=5885eac43b653a0f00fa97f5}}
{{CustomCIStatus|user=stsquad|repo=qemu|branch=testing/next}}
</pre>
</pre>


Give:
Give:


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


=== Parameters ===
=== Parameters ===
Line 16: Line 16:
  * user - username (assumes you use the same one across systems)
  * user - username (assumes you use the same one across systems)
  * repo - name of your repo
  * repo - name of your repo
* ship_proj - shippable project id
  * branch - branch you are tracking
  * branch - branch you are tracking



Revision as of 10:09, 30 June 2021

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]