Template:ShippableCIStatus: Difference between revisions

From QEMU
(fix branch link)
(drop dashboard link)
 
(One intermediate revision by the same user not shown)
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>


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


</noinclude>https://api.shippable.com/projects/{{{id|5885eb1e11c45a1000af5662}}}/badge?branch={{{branch|master}}}&foo=qemu.png [https://app.shippable.com/github/{{{user|qemu}}}/{{{repo|qemu}}}/runs?branchName={{{branch|master}}}] [https://app.shippable.com/github/{{{user|qemu}}}/{{{repo|qemu}}}/status/dashboard]
</noinclude>https://api.shippable.com/projects/{{{id|5885eb1e11c45a1000af5662}}}/badge?branch={{{branch|master}}}&foo=qemu.png [https://app.shippable.com/github/{{{user|qemu}}}/{{{repo|qemu}}}/runs?branchName={{{branch|master}}}]

Latest revision as of 15:45, 22 October 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]

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 [2]