Template:ShippableCIStatus: Difference between revisions

From QEMU
(fix branch link)
(fix example)
Line 5: Line 5:


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



Revision as of 09:49, 23 May 2019

Usage

This template can be used to embed a build status button for Testing/CI/CirrusCI with an link:

{{ShippableCIStatus|id=5885eac43b653a0f00fa97f5|user=stsquad|repo=qemu|branch=testing/next}}

Gives next&foo=qemu.png [1] [2]

Parameters

* user - github user id
* repo - github repo id
* id - Shippable project id
(see https://app.shippable.com/github/{{{user}}}/{{{repo}}}/dashboard/badges)
* branch - branch you are tracking

Defaults

The defaults are set to track the master branch of the main repository:

badge?branch=master&foo=qemu.png [3] [4]