Template:ShippableCIStatus: Difference between revisions

From QEMU
No edit summary
(fix branch link)
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={{{master|branch}}}] [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}}}] [https://app.shippable.com/github/{{{user|qemu}}}/{{{repo|qemu}}}/status/dashboard]

Revision as of 12:03, 20 May 2019

Usage

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

{{ShippableCIStatus|id=5885eac43b653a0f00fa97f5|repo=stsquad/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]