Template:CustomCIStatus: Difference between revisions

From QEMU
(Patchew is not customizable)
(Use templates for Travis/Shippable/CirrusCI slugs)
Line 32: Line 32:
| [[Testing/Travis|Travis]]
| [[Testing/Travis|Travis]]
| Build combinations, Ubuntu 12/14.04 x86_64 hosts, MacOSX
| Build combinations, Ubuntu 12/14.04 x86_64 hosts, MacOSX
| https://api.travis-ci.org/{{{user|qemu}}}/{{{repo|qemu}}}.png?branch={{{branch|master}}}&file=qemu.png [https://travis-ci.org/{{{user|qemu}}}/{{{repo|qemu}}}]
| {{TravisCIStatus|user={{{user|qemu}}}|repo={{{repo|qemu}}}|branch={{{branch|master}}}}}
|-
|-
| [[Testing/CI/Shippable|Shippable]]
| [[Testing/CI/Shippable|Shippable]]
| Docker based cross-compiles (Debian Based)
| Docker based cross-compiles (Debian Based)
| https://api.shippable.com/projects/{{{ship_proj|5885eb1e11c45a1000af5662}}}/badge?branch={{{branch|master}}}&foo=qemu.png [https://app.shippable.com/github/{{{user|qemu}}}/{{{repo|qemu}}}/status/dashboard]
| {{ShippableCIStatus|id={{{ship_proj|5885eb1e11c45a1000af5662}}}|user={{{user|qemu}}}|repo={{{repo|qemu}}}|branch={{{branch|master}}}}}
|-
|-
| [[Testing/CI/CirrusCI|Cirrus CI]]
| [[Testing/CI/CirrusCI|Cirrus CI]]
| FreeBSD compiles
| FreeBSD compiles
| https://api.cirrus-ci.com/github/{{{user|qemu}}}/{{{repo|qemu}}}.svg [https://cirrus-ci.com/github/{{{user|qemu}}}/{{{repo|qemu}}}]
| {{CirrusCIStatus|user={{{user|qemu}}}|repo={{{repo|qemu}}}|branch={{{branch|master}}}}}
|-
|-
| [[Testing/CI/GitLabCI|GitLab CI]]
| [[Testing/CI/GitLabCI|GitLab CI]]

Revision as of 09:51, 23 May 2019

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 Focus Status
Travis Build combinations, Ubuntu 12/14.04 x86_64 hosts, MacOSX next&file=qemu.png
Shippable Docker based cross-compiles (Debian Based) next&foo=qemu.png [1]
Cirrus CI FreeBSD compiles https://api.cirrus-ci.com/github/stsquad/qemu.svg [2]
GitLab CI Linux compiles and IOTests https://gitlab.com/stsquad/qemu/badges/testing/next/pipeline.svg [3]

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 Focus Status
Travis Build combinations, Ubuntu 12/14.04 x86_64 hosts, MacOSX qemu.png?branch=master&file=qemu.png
Shippable Docker based cross-compiles (Debian Based) badge?branch=master&foo=qemu.png [4]
Cirrus CI FreeBSD compiles https://api.cirrus-ci.com/github/qemu/qemu.svg [5]
GitLab CI Linux compiles and IOTests https://gitlab.com/qemu-project/qemu/badges/master/pipeline.svg [6]