Template:CustomCIStatus: Difference between revisions

From QEMU
No edit summary
No edit summary
Line 34: Line 34:
| https://api.travis-ci.org/{{{user|qemu}}}/{{{repo|qemu}}}.png?branch={{{branch|master}}}&file=qemu.png [https://travis-ci.org/{{{user|qemu}}}/{{{repo|qemu}}}]
| https://api.travis-ci.org/{{{user|qemu}}}/{{{repo|qemu}}}.png?branch={{{branch|master}}}&file=qemu.png [https://travis-ci.org/{{{user|qemu}}}/{{{repo|qemu}}}]
|-
|-
| [[Testing/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]
| 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]
Line 42: Line 42:
| https://api.cirrus-ci.com/github/{{{user|qemu}}}/{{{repo|qemu}}}.svg [https://cirrus-ci.com/github/{{{user|qemu}}}/{{{repo|qemu}}}]
| https://api.cirrus-ci.com/github/{{{user|qemu}}}/{{{repo|qemu}}}.svg [https://cirrus-ci.com/github/{{{user|qemu}}}/{{{repo|qemu}}}]
|-
|-
| [[Testing/CI/GitLabCI|GitLab CI]
| [[Testing/CI/GitLabCI|GitLab CI]]
| Linux compiles and IOTests
| Linux compiles and IOTests
| https://gitlab.com/{{{user|qemu-project}}}/{{{repo|qemu}}}/badges/{{{branch|master}}}/pipeline.svg [https://gitlab.com/{{{user|qemu-project}}}/{{{repo|qemu}}}/pipelines/charts]
| https://gitlab.com/{{{user|qemu-project}}}/{{{repo|qemu}}}/badges/{{{branch|master}}}/pipeline.svg [https://gitlab.com/{{{user|qemu-project}}}/{{{repo|qemu}}}/pipelines/charts]
|}
|}
[[Category:CI Tracking Pages]]
[[Category:CI Tracking Pages]]

Revision as of 11:59, 25 March 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 [1]
Shippable Docker based cross-compiles (Debian Based) next&foo=qemu.png [2]
Cirrus CI FreeBSD compiles https://api.cirrus-ci.com/github/stsquad/qemu.svg [3]
GitLab CI Linux compiles and IOTests https://gitlab.com/stsquad/qemu/badges/testing/next/pipeline.svg [4]

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 [5]
Shippable Docker based cross-compiles (Debian Based) badge?branch=master&foo=qemu.png [6]
Cirrus CI FreeBSD compiles https://api.cirrus-ci.com/github/qemu/qemu.svg [7]
GitLab CI Linux compiles and IOTests https://gitlab.com/qemu-project/qemu/badges/master/pipeline.svg [8]